/* ========================================
   CSS Custom Properties (Variables)
   ======================================== */
:root {
  /* Colors - Primary */
  --color-primary: #1a73e8;
  --color-primary-dark: #1557b0;
  --color-primary-light: #e8f0fe;
  
  /* Colors - Secondary/Neutral */
  --color-text-primary: #333;
  --color-text-secondary: #666;
  --color-text-muted: #999;
  --color-background: #f5f5f5;
  --color-surface: #fff;
  --color-border: #e0e0e0;
  --color-border-light: #f0f0f0;
  
  /* Colors - Status */
  --color-success: #28a745;
  --color-success-light: #e8f5e9;
  --color-warning: #f59f00;
  --color-warning-light: #fff8e6;
  --color-danger: #dc3545;
  --color-danger-light: #fdf2f2;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-family-mono: 'Courier New', Consolas, monospace;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1001;
  --z-modal: 1002;
  --z-toast: 1003;
}

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

html {
  overflow-y: scroll;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-background);
  color: var(--color-text-primary);
  line-height: 1.6;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ========================================
   Navbar Styles
   ======================================== */
#navbar-container {
  position: sticky;
  top: 0;
  z-index: var(--z-dropdown);
}

.navbar {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-sm) var(--spacing-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.navbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
}

.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s;
  position: relative;
  z-index: 10;
}

.navbar-logo:hover {
  opacity: 0.8;
  text-decoration: none;
}

.navbar-logo:focus {
  outline: none;
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
  object-position: center;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
}

.signin-btn {
  display: inline-block;
  background-color: #1a73e8;
  color: white;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.signin-btn:hover {
  background-color: #1557b0;
  color: white;
  text-decoration: none;
}

.navbar .nav-link {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
}

.navbar .nav-link:hover {
  background-color: #f5f5f5;
  color: #1a73e8;
  text-decoration: none;
}

.navbar .nav-link:focus {
  outline: none;
  background-color: #f5f5f5;
  box-shadow: 0 0 0 2px #1a73e8;
}

/* ========================================
   Profile Dropdown
   ======================================== */
.profile-dropdown {
  position: relative;
}

.profile-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: all 0.2s;
}

.profile-dropdown-trigger:hover {
  background-color: #e8e8e8;
  border-color: #d0d0d0;
}

.profile-dropdown-trigger:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.3);
}

.profile-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.profile-avatar-small.error {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.profile-name {
  display: none;
}

.dropdown-arrow {
  font-size: 8px;
  color: #666;
  transition: transform 0.2s;
}

.profile-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.profile-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 1001;
  overflow: hidden;
}

.profile-dropdown.open .profile-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 16px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.dropdown-user-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.dropdown-user-email {
  display: block;
  font-size: 13px;
  color: #666;
}

.dropdown-divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background-color 0.15s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
  text-decoration: none;
}

.dropdown-item:focus {
  outline: none;
  background-color: #f0f5ff;
}

.dropdown-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.dropdown-item-danger {
  color: var(--color-danger);
}

.dropdown-item-danger:hover {
  background-color: var(--color-danger-light);
}

/* ========================================
   Main Content Styles
   ======================================== */

/* ========================================
   Content Sections
   ======================================== */
.content-section {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.content-section h2 {
  font-size: 28px;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.content-section p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section code {
  background-color: var(--color-background);
  padding: 3px var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-family: var(--font-family-mono);
  font-size: 14px;
  color: #d63384;
}

/* ========================================
   Buttons
   ======================================== */
button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px var(--spacing-lg);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

button:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.4);
}

button:focus:not(:focus-visible) {
  box-shadow: none;
}

button:focus-visible {
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.4);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-block {
  width: 100%;
  display: block;
}

/* ========================================
   Sign In Page
   ======================================== */
.signin-page {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  min-height: 100vh;
}

.signin-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 40px 20px;
}

.signin-card {
  background: white;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
  max-width: 420px;
  width: 100%;
}

.signin-logo {
  margin-bottom: 24px;
}

.signin-logo-img {
  height: 80px;
  width: auto;
  max-width: 100%;
}

@media (max-width: 480px) {
  .signin-logo-img {
    height: 60px;
  }
  
  .signin-title {
    font-size: 24px;
  }
  
  .signin-card {
    padding: 32px 24px;
  }
}

.signin-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.signin-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
}

.signin-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.social-signin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.signin-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: #999;
  font-size: 13px;
}

.signin-divider::before,
.signin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #e0e0e0;
}

.signin-divider span {
  padding: 0 16px;
}

.signin-terms {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.signin-terms a {
  color: #1a73e8;
  text-decoration: none;
}

.signin-terms a:hover {
  text-decoration: underline;
}

.signin-signup-link {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  font-size: 15px;
  color: #666;
}

.signin-signup-link a {
  color: #1a73e8;
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
}

.signin-signup-link a:hover {
  text-decoration: underline;
}

/* ========================================
   Forms
   ======================================== */
form {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  box-shadow: 0 0px 6px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

label {
  display: block;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.required {
  color: #dc3545;
}

.optional {
  color: #666;
  font-weight: 400;
  font-size: 14px;
}

.form-input,
input[type="text"],
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #fafafa;
}

.form-input:hover,
input[type="text"]:hover,
textarea:hover {
  border-color: #c0c0c0;
}

.form-input:focus,
input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
  background-color: white;
}

/* Remove focus ring when using mouse click */
.form-input:focus:not(:focus-visible),
input[type="text"]:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  box-shadow: none;
  border-color: #1a73e8;
}

.form-input:focus-visible,
input[type="text"]:focus-visible,
textarea:focus-visible {
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.form-input::placeholder,
input[type="text"]::placeholder,
textarea::placeholder {
  color: #999;
}

.form-hint,
small {
  display: block;
  color: #666;
  font-size: 13px;
  margin-top: 8px;
}

.error-message,
#error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #f5c6cb;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

/* ========================================
   Landing Page - Hero Section
   ======================================== */
.hero-section {
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  color: white;
  padding: 80px 20px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "text image"
    "cta image";
  align-items: center;
  gap: 0 80px;
}

.hero-text {
  grid-area: text;
}

.hero-cta {
  grid-area: cta;
}

.hero-image {
  grid-area: image;
}

.hero-section h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-subheadline {
  font-size: 22px;
  margin-bottom: 36px;
  opacity: 0.95;
  line-height: 1.7;
}

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

.hero-screenshot {
  width: 650px;
  height: 250px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-screenshot::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, transparent, #1557b0);
  pointer-events: none;
}

.hero-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile hero image - hidden on desktop */
.hero-screenshot-mobile {
  display: none;
}

.hero-screenshot-mobile-img {
  max-width: 280px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
  display: block;
}

/* ========================================
   Landing Page - Button Styles
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
  font-family: inherit;
  background: none; /* Reset for button elements */
  line-height: 1.2; /* Consistent line height */
  text-align: center; /* Center text in buttons */
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:focus {
  outline: none;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.4);
}

.btn:active {
  transform: translateY(0);
}

/* Primary button - for dark backgrounds (hero, CTA sections) */
.btn-primary {
  background-color: var(--color-surface);
  color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-background);
  color: var(--color-primary-dark);
}

/* Primary button variant - for light backgrounds */
.btn-primary-dark {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary-dark:hover {
  background-color: var(--color-primary-dark);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Secondary button variant - for light backgrounds */
.btn-secondary-dark {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary-dark:hover {
  background-color: rgba(26, 115, 232, 0.1);
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-large {
  padding: 16px 36px;
  font-size: 18px;
}

.btn-medium {
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 6px;
}

/* ========================================
   Landing Page - Content Container
   ======================================== */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 40px 0px 80px 0px;
}

section h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  color: #333;
  letter-spacing: -0.5px;
}

/* ========================================
   Landing Page - Value Proposition Section
   ======================================== */
.value-prop-section {
  background-color: #f5f5f5;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-item {
  background: white;
  text-align: center;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s, transform 0.3s;
}

.value-item:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.value-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-img {
  width: 200px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.value-img-borderless {
  width: 200px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background-color: white;
}
.value-item h3 {
  font-size: 26px;
  margin-bottom: 16px;
  color: #1a73e8;
  font-weight: 700;
}

.value-item p {
  font-size: 17px;
  color: #666;
  line-height: 1.8;
}

/* ========================================
   Landing Page - How It Works Section
   ======================================== */
.how-it-works-section {
  background-color: white;
}

.how-it-works-section .steps-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.how-it-works-section .step-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}

.how-it-works-section .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: #1a73e8;
  color: white;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
}

.how-it-works-section .step-content {
  flex: 1;
}

.how-it-works-section .step-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
  font-weight: 700;
}

.how-it-works-section .step-item p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   Landing Page - Pricing Teaser Section
   ======================================== */
.pricing-teaser-section {
  background-color: #f5f5f5;
  text-align: center;
}

.pricing-teaser-section .pricing-subtitle {
  font-size: 20px;
  color: #666;
  margin-bottom: 36px;
}

/* ========================================
   Landing Page - Social Proof Section
   ======================================== */
.social-proof-section {
  background-color: white;
}

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

.testimonial-card {
  background-color: #f5f5f5;
  padding: 32px;
  border-radius: 12px;
  border-left: 4px solid #1a73e8;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.testimonial-text {
  font-size: 17px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-size: 15px;
  color: #666;
  font-weight: 600;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.badge {
  background-color: #f5f5f5;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  transition: transform 0.2s;
}

.badge:hover {
  transform: translateY(-1px);
}

/* ========================================
   Landing Page - About Us Section
   ======================================== */

/* About Hero */
.about-hero-section {
  background-color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.success-hero-section {
  padding-top: 32px;
}

.about-hero-tagline {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1a73e8;
  margin-bottom: 16px;
}

.about-hero-section h1 {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
}

.about-hero-subtitle {
  font-size: 20px;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* About Section */
.about-section {
  background-color: #f5f5f5;
}

.about-section h2 {
  text-align: center;
  margin-bottom: 32px;
  font-size: 32px;
}

.company-card {
  background-color: white;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.founders-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.founder-row {
  display: flex;
  align-items: center;
  gap: 48px;
}

.founder-row-reversed {
  flex-direction: row-reverse;
}

.founder-photo {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #e0e0e0;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-info {
  flex: 1;
}

.founder-info h3 {
  font-size: 28px;
  color: #333;
  margin-bottom: 8px;
}

.founder-role {
  font-size: 16px;
  color: #1a73e8;
  font-weight: 600;
  margin-bottom: 20px;
}

.founder-bio {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
}

/* About Section Responsive */
@media (max-width: 768px) {
  .about-hero-section {
    padding: 60px 0 40px;
  }

  .about-hero-section h1 {
    font-size: 32px;
  }

  .about-hero-subtitle {
    font-size: 18px;
  }

  .about-section h2 {
    font-size: 26px;
  }

  .company-card {
    padding: 32px 24px;
  }

  .founder-row,
  .founder-row-reversed {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .founder-photo {
    width: 200px;
    height: 200px;
  }

  .founder-info h3 {
    font-size: 24px;
  }
}

/* ========================================
   Landing Page - FAQ Section
   ======================================== */
.faq-section {
  background-color: #f5f5f5;
}

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

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: white;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: #fafafa;
}

.faq-icon {
  font-size: 28px;
  color: #1a73e8;
  transition: transform 0.3s;
  font-weight: 400;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 24px 24px;
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

/* ========================================
   Landing Page - Final CTA Section
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  color: white;
  text-align: center;
  padding: 100px 0;
}

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

.cta-subtitle {
  font-size: 20px;
  margin-bottom: 36px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-disclaimer {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.85;
}

.cta-section a:not(.btn) {
  color: white;
  text-decoration: underline;
}

/* CTA section button override - ensure proper colors on dark background */
.cta-section .btn-primary {
  background-color: white;
  color: var(--color-primary);
}

.cta-section .btn-primary:hover {
  background-color: #f0f0f0;
  color: var(--color-primary-dark);
  text-decoration: none;
}

/* ========================================
   Landing Page - Footer
   ======================================== */
.footer {
  background-color: #333;
  color: white;
  padding: 48px 24px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  font-size: 15px;
  transition: color 0.2s, opacity 0.2s;
  opacity: 0.9;
}

.footer-links a:hover {
  color: #1a73e8;
  text-decoration: none;
  opacity: 1;
}

.footer-contact {
  margin-bottom: 20px;
}

.footer-contact p {
  font-size: 15px;
  color: #ccc;
}

.footer-copyright {
  font-size: 14px;
  color: #999;
  padding-top: 24px;
  border-top: 1px solid #555;
}

/* ========================================
   Hamburger Menu & Mobile Navigation
   ======================================== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.hamburger-btn:hover {
  background-color: #f0f0f0;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  flex-direction: column;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-menu-logo {
  height: 32px;
  width: auto;
}

.mobile-menu-close {
  position: relative;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.mobile-menu-close:hover {
  background-color: #f0f0f0;
}

.mobile-menu-close span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
  position: absolute;
}

/* Create X shape with the close button lines */
.mobile-menu-close span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu-close:hover span {
  background-color: #000;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  flex: 1;
}

.mobile-nav-link {
  display: block;
  padding: 14px 24px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-link:hover {
  background: #f8f9fa;
  color: #1a73e8;
}

.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 12px;
}

/* Mobile menu button overrides */
.mobile-menu-footer .mobile-menu-btn {
  display: inline-flex !important;
  flex: 1 1 0 !important;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  padding: 12px 8px;
  white-space: nowrap;
  width: auto !important;
}

.mobile-menu-footer .btn-secondary {
  background-color: transparent;
  color: #1a73e8;
  border: 2px solid #1a73e8;
}

.mobile-menu-footer .btn-secondary:hover {
  background-color: rgba(26, 115, 232, 0.1);
  color: #1a73e8;
}

.mobile-menu-footer .btn-primary {
  background-color: #1a73e8;
  color: white;
}

.mobile-menu-footer .btn-primary:hover {
  background-color: #1557b0;
  color: white;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .value-grid,
  .feature-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hamburger menu mobile styles */
  .hamburger-btn {
    display: flex;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }

  .navbar {
    padding: 12px 16px;
  }

  .navbar-container {
    justify-content: space-between;
    align-items: center;
  }

  .navbar-left {
    display: flex;
    flex: 0 0 auto;
  }

  .navbar-center {
    display: none;
  }

  .logo-image {
    height: 40px;
    width: auto;
  }

  .navbar-right {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
  }

  /* Hide sign-in button in navbar on mobile (shown in mobile menu) */
  .navbar-right .signin-btn {
    display: none !important;
  }

  /* Hide profile dropdown on mobile (shown in mobile menu) */
  .navbar-right .profile-dropdown {
    display: none !important;
  }
  
  /* Profile dropdown mobile adjustments */
  .profile-dropdown-trigger {
    padding: 4px 10px 4px 4px;
  }
  
  .profile-name {
    display: none;
  }
  
  .profile-dropdown-menu {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    min-width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .profile-dropdown.open .profile-dropdown-menu {
    transform: translateY(0);
  }
  
  .dropdown-item {
    padding: 16px 20px;
  }
  
  .header {
    padding: 40px 20px 30px;
  }

  .header h1 {
    font-size: 32px;
  }
  
  .header p {
    font-size: 17px;
  }
  
  .content-section {
    padding: 24px;
  }
  
  .content-section h2 {
    font-size: 24px;
  }

  /* Landing page responsive styles */
  .hero-section {
    padding: 60px 20px;
  }

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

  .hero-text {
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  .hero-cta {
    order: 3;
    flex-direction: column;
  }

  .hero-section h1 {
    font-size: 36px;
    letter-spacing: -0.5px;
  }

  .hero-subheadline {
    font-size: 18px;
    margin-bottom: 0;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  /* Swap hero images on mobile */
  .hero-screenshot-desktop {
    display: none;
  }

  .hero-screenshot-mobile {
    display: block;
    text-align: center;
  }

  .value-grid,
  .feature-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .how-it-works-section .steps-container {
    gap: 24px;
  }

  section {
    padding: 60px 0;
  }

  section h2 {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .trust-badges {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .trust-badge {
    width: 100%;
    max-width: 280px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .how-it-works-section .step-item {
    gap: 16px;
  }

  .how-it-works-section .step-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .how-it-works-section .step-item h3 {
    font-size: 16px;
  }

  .how-it-works-section .step-item p {
    font-size: 15px;
  }
}

/* ========================================
   Pricing Page Styles
   ======================================== */
.pricing-hero-section {
  background-color: white;
  padding: 80px 20px 60px;
  text-align: center;
}

.pricing-hero-section h1 {
  font-size: 48px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.pricing-hero-section .pricing-subtitle {
  font-size: 20px;
  color: #666;
  margin-bottom: 0;
}

/* Trial Section */
.pricing-trial-section {
  background-color: #f5f5f5;
  padding: 60px 20px 0;
}

.trial-card {
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trial-title {
  font-size: 32px;
  color: white;
  margin-bottom: 8px;
  font-weight: 700;
}

.trial-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

.trial-card .subscribe-btn {
  background-color: white;
  color: #1a73e8;
  width: auto;
  padding: 14px 40px;
  font-size: 16px;
}

.trial-card .subscribe-btn:hover {
  background-color: #f0f0f0;
}

.pricing-cards-section {
  background-color: #f5f5f5;
  padding: 60px 20px 80px;
}

/* Billing Toggle */
.billing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 56px;
  padding: 16px 32px;
  background-color: white;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.billing-label {
  font-size: 15px;
  font-weight: 600;
  color: #666;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  line-height: 1;
  min-height: 22px;
}

.billing-label.active {
  color: #1a73e8;
}

.savings-badge {
  background: linear-gradient(135deg, #34a853 0%, #2d8f47 100%);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.billing-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 22px;
  cursor: pointer;
}

.billing-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-border);
  border-radius: 22px;
  transition: background-color 0.3s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.billing-toggle input:checked + .toggle-slider {
  background-color: var(--color-primary);
}

.billing-toggle input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 48px;
  align-items: stretch;
}

/* Pricing loading state - show placeholder until prices load */
.pricing-cards.pricing-loading .price-amount {
  color: #ccc;
  animation: pulse 1.5s ease-in-out infinite;
}

.pricing-cards.pricing-loading .subscribe-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Pricing error state */
.pricing-cards.pricing-error .price-amount {
  color: #dc3545;
}

.plan-card {
  background: white;
  border-radius: 16px;
  padding: 40px 24px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 0 1 250px;
  max-width: 280px;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.plan-card-featured {
  border: 3px solid #1a73e8;
  transform: scale(1.02);
  z-index: 1;
}

.plan-card-featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.plan-name {
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
  min-height: 24px;
}

.plan-card-featured .plan-name {
  margin-top: 0;
}

.plan-price {
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.price-amount {
  font-size: 44px;
  font-weight: 700;
  color: #1a73e8;
  letter-spacing: -2px;
  line-height: 1;
}

.price-interval {
  font-size: 15px;
  color: #666;
  font-weight: 500;
}

.plan-description-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}

.plan-description {
  font-size: 14px;
  color: #666;
  margin: 0;
  text-align: center;
}

.plan-savings {
  color: #34a853;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  min-height: 20px;
}

.subscribe-btn {
  width: 100%;
  margin-top: auto;
  padding: 14px 20px;
}

.plan-card .btn-secondary {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.plan-card .btn-secondary:hover {
  background-color: #e8e8e8;
}

/* Enterprise card styling */
.plan-card-enterprise {
  border: 2px solid #34a853;
}

.plan-card-enterprise .price-amount {
  color: #34a853;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.feature-list li {
  padding: 10px 0;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li:last-child {
  border-bottom: none;
}

.pricing-note {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 0;
}

/* ========================================
   Single Plan Pricing Section (New Layout)
   ======================================== */
.pricing-single-section {
  background: linear-gradient(180deg, #f5f5f5 0%, #fff 100%);
  padding: 60px 20px 80px;
}

/* Combined Pricing & Features Layout */
.pricing-combined-section {
  background: linear-gradient(180deg, #f5f5f5 0%, #fff 100%);
  padding: 60px 20px 80px;
}

.pricing-combined-layout {
  display: flex;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Features Column (Left) */
.pricing-features-column {
  flex: 1;
  min-width: 0;
}

.pricing-features-column h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 12px;
  font-weight: 700;
}

.pricing-features-column .features-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: none;
  text-align: left;
}

.features-list-compact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.features-list-compact li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.features-list-compact li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.features-list-compact .feature-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.features-list-compact .feature-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* Pricing Card Column (Right) */
.pricing-card-column {
  flex: 0 0 400px;
  position: sticky;
  top: 100px;
}

.pricing-single-card {
  background: white;
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Inline Billing Toggle (Segmented Control) */
.billing-toggle-container-inline {
  display: inline-flex;
  background: #f0f0f0;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 32px;
  gap: 4px;
}

.billing-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #666;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.billing-option:hover {
  color: #333;
}

.billing-option-active {
  background: white;
  color: #1a73e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.billing-option-label {
  pointer-events: none;
}

.savings-badge-inline {
  background: linear-gradient(135deg, #34a853 0%, #2d8f47 100%);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  pointer-events: none;
}

/* Large Price Display */
.pricing-single-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 28px;
  font-weight: 600;
  color: #1a73e8;
  line-height: 1;
  margin-top: 8px;
}

.price-amount-large {
  font-size: 72px;
  font-weight: 800;
  color: #1a73e8;
  letter-spacing: -3px;
  line-height: 1;
}

.price-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 4px;
  margin-top: 12px;
}

.price-interval-large {
  font-size: 18px;
  color: #666;
  font-weight: 500;
  line-height: 1.2;
}

.price-billed {
  font-size: 13px;
  color: #999;
  font-weight: 400;
}

.plan-savings-large {
  color: #34a853;
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 16px 0;
  min-height: 22px;
}

/* Loading state for single pricing card */
.pricing-single-card.pricing-loading .price-amount-large,
.pricing-single-card.pricing-loading .price-currency {
  color: #ccc;
  animation: pulse 1.5s ease-in-out infinite;
}

.pricing-single-card.pricing-loading .subscribe-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.pricing-single-description {
  font-size: 17px;
  color: #666;
  margin: 0 0 28px 0;
  line-height: 1.5;
}

.pricing-single-card .subscribe-btn {
  width: 100%;
  max-width: 320px;
  margin-bottom: 24px;
}

.btn-xl {
  padding: 18px 32px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 12px;
}

.pricing-single-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  color: #888;
  font-size: 13px;
}

.pricing-single-trust span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Responsive adjustments for single pricing */
@media (max-width: 900px) {
  .pricing-combined-layout {
    flex-direction: column;
    gap: 40px;
  }
  
  .pricing-features-column {
    order: 2;
  }
  
  .pricing-card-column {
    flex: none;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    order: 1;
    position: static;
  }
  
  .pricing-features-column h2 {
    text-align: center;
  }
  
  .pricing-features-column .features-subtitle {
    text-align: center;
  }
  
  .features-list-compact {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .pricing-single-card {
    padding: 36px 24px;
    border-radius: 20px;
  }
  
  .billing-toggle-container-inline {
    flex-direction: column;
    width: 100%;
  }
  
  .billing-option {
    justify-content: center;
    width: 100%;
  }
  
  .price-amount-large {
    font-size: 56px;
    letter-spacing: -2px;
  }
  
  .price-currency {
    font-size: 22px;
    margin-top: 6px;
  }
  
  .price-details {
    margin-top: 8px;
  }
  
  .price-interval-large {
    font-size: 16px;
  }
  
  .pricing-single-trust {
    flex-direction: column;
    gap: 8px;
  }
  
  .features-list-compact {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  
  .features-list-compact li {
    padding: 12px 14px;
  }
  
  .features-list-compact .feature-icon {
    font-size: 20px;
  }
}

/* All Plans Include Section */
.features-included-section {
  background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
  padding: 72px 20px 80px;
  text-align: center;
}

.features-included-section h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 12px;
  font-weight: 700;
}

.features-subtitle {
  font-size: 17px;
  color: #666;
  margin-bottom: 40px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 24px;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  text-align: left;
}

.features-grid li {
  font-size: 15px;
  color: #333;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #f8f9fa;
  border-radius: 8px;
  font-weight: 500;
}

/* Enhanced features grid for pricing page */
.features-grid-pricing {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
}

.features-grid-pricing li {
  padding: 20px 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.features-grid-pricing li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.feature-desc {
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

.trust-section {
  background-color: #f5f5f5;
  padding: 48px 20px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trust-icon {
  font-size: 24px;
  color: #1a73e8;
}

.trust-text {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.pricing-faq-section {
  background-color: #f5f5f5;
}

/* ========================================
   Subscription Management Page Styles
   ======================================== */
.subscription-page {
  background-color: #f5f5f5;
  min-height: calc(100vh - 200px);
  padding: 48px 20px;
}

.subscription-container {
  max-width: 900px;
  margin: 0 auto;
}

.subscription-section {
  background: white;
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.subscription-section h2 {
  font-size: 26px;
  margin-bottom: 24px;
  color: #333;
  font-weight: 700;
}

.subscription-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.status-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-badge.active {
  background-color: #d4edda;
  color: #155724;
}

.status-badge.trialing {
  background-color: #cce5ff;
  color: #004085;
}

.status-badge.canceled {
  background-color: #e2e3e5;
  color: #383d41;
}

.status-badge.past-due {
  background-color: #f8d7da;
  color: #721c24;
}

.subscription-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

/* Subscription-specific detail styling */
.subscription-details .detail-item {
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 8px;
}

.subscription-details .detail-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.subscription-details .detail-value {
  font-size: 20px;
  color: #333;
  font-weight: 700;
}

.subscription-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.billing-history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.billing-history-table th {
  text-align: left;
  padding: 14px 12px;
  background-color: #f5f5f5;
  font-weight: 700;
  font-size: 14px;
  color: #333;
}

.billing-history-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: #666;
}

.billing-history-table tr:last-child td {
  border-bottom: none;
}

.download-link {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 600;
}

.download-link:hover {
  text-decoration: underline;
}

.extension-download-section {
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  color: white;
  text-align: center;
  padding: 40px;
  border-radius: 12px;
}

.extension-download-section h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: white;
  font-weight: 700;
}

.extension-download-section p {
  font-size: 17px;
  margin-bottom: 24px;
  opacity: 0.95;
}

/* ========================================
   Success Page Styles
   ======================================== */
.success-page {
  background-color: #f5f5f5;
  min-height: calc(100vh - 200px);
  padding: 80px 20px;
}

.success-container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 64px 48px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.success-icon {
  font-size: 80px;
  margin-bottom: 24px;
  display: block;
  color: #34a853;
}

.about-section .success-actions {
  margin-top: 48px;
}

.about-hero-section .success-actions {
  margin-top: 32px;
}

.success-container h1 {
  font-size: 40px;
  color: #333;
  margin-bottom: 16px;
  font-weight: 700;
}

.success-message {
  font-size: 20px;
  color: #666;
  margin-bottom: 48px;
  line-height: 1.6;
}

.next-steps {
  text-align: left;
  margin-bottom: 48px;
  padding: 36px;
  background-color: #f5f5f5;
  border-radius: 12px;
}

.next-steps h2 {
  font-size: 26px;
  color: #333;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 700;
}

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

.step-list li {
  padding: 16px 0;
  font-size: 17px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: start;
  gap: 16px;
  line-height: 1.6;
}

.step-list li:last-child {
  border-bottom: none;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #1a73e8;
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.step-list + .success-actions {
  margin-top: 32px;
}

.success-actions .btn {
  min-width: 280px;
}

.success-primary-cta {
  min-width: 360px;
  padding: 16px 36px;
  font-size: 18px;
  box-shadow: 0 10px 24px rgba(26, 115, 232, 0.25);
}

.success-primary-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(26, 115, 232, 0.32);
}

.success-primary-cta:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.22);
}

/* ========================================
   Pricing Page Responsive Design
   ======================================== */
@media (max-width: 1200px) {
  .pricing-cards {
    gap: 24px;
    max-width: 700px;
  }
  
  .plan-card-featured {
    transform: scale(1);
  }
  
  .plan-card-featured:hover {
    transform: translateY(-6px);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-hero-section h1 {
    font-size: 32px;
  }
  
  .trial-card {
    padding: 32px 24px;
  }
  
  .trial-title {
    font-size: 26px;
  }
  
  .billing-toggle-container {
    padding: 12px 20px;
    gap: 12px;
  }
  
  .billing-label {
    font-size: 14px;
  }

  .pricing-cards {
    gap: 20px;
    max-width: 360px;
  }

  .plan-card-featured {
    transform: scale(1);
  }

  .plan-card-featured:hover {
    transform: translateY(-4px);
  }
  
  .features-included-section {
    padding: 48px 20px;
  }
  
  .features-included-section h2 {
    font-size: 26px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  
  .features-grid-pricing {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .features-grid-pricing li {
    padding: 16px 20px;
  }
  
  .feature-icon {
    font-size: 24px;
  }

  .subscription-details {
    grid-template-columns: 1fr;
  }

  .subscription-actions {
    flex-direction: column;
  }

  .subscription-actions .btn {
    width: 100%;
  }

  .billing-history-table {
    font-size: 13px;
  }

  .billing-history-table th,
  .billing-history-table td {
    padding: 8px;
  }

  .success-container {
    padding: 40px 20px;
  }

  .success-icon {
    font-size: 56px;
  }

  .success-container h1 {
    font-size: 28px;
  }

  .success-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .success-primary-cta {
    font-size: 17px;
  }
}

/* ========================================
   Documentation Styles
   Custom styles for the LabelLight documentation pages
   
   @author Kahn Wynyard
   @version 1.0.0
   ======================================== */

/* ========================================
   Documentation Layout
   ======================================== */
.docs-layout {
  display: flex;
  min-height: calc(100vh - 200px);
}

/* ========================================
   Sidebar Navigation
   ======================================== */
.docs-sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid #e0e0e0;
  padding: 24px 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  flex-shrink: 0;
  align-self: flex-start;
}

.docs-sidebar-header {
  padding: 0 24px 16px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 16px;
}

.docs-sidebar-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a73e8;
  margin: 0;
}

.docs-nav {
  padding: 0 12px;
}

.docs-nav-section {
  margin-bottom: 5px;
}

.docs-nav-section h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  margin: 0 0 8px 8px;
  padding: 0 4px;
}

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

.docs-nav-section li {
  margin: 2px 0;
}

.docs-nav-section a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: background-color 0.2s, color 0.2s;
}

.docs-nav-section a:hover {
  background-color: #f5f5f5;
  color: #1a73e8;
  text-decoration: none;
}

.docs-nav-section a.active {
  background-color: #e8f0fe;
  color: #1a73e8;
  font-weight: 600;
}

/* ========================================
   Main Content Area
   ======================================== */
.docs-main {
  flex: 1;
  padding: 32px 48px;
  background: #f9f9f9;
  min-width: 0;
}

.docs-content {
  max-width: 900px;
  margin: 0 auto;
}

.docs-breadcrumb {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.docs-breadcrumb a {
  color: #1a73e8;
  text-decoration: none;
}

.docs-breadcrumb a:hover {
  text-decoration: underline;
}

.docs-content h1 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin: 0 0 16px;
  line-height: 1.2;
}

.docs-lead {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ========================================
   Documentation Cards
   ======================================== */
.docs-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.docs-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #e0e0e0;
}

.docs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  border-color: #1a73e8;
}

.docs-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.docs-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
}

.docs-card p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   Documentation Sections
   ======================================== */
.docs-section {
  background: white;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.docs-section:first-of-type {
  margin-top: 32px;
}

.docs-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8f0fe;
  position: relative;
  scroll-margin-top: 80px;
}

.docs-section h2:hover .anchor-link,
.docs-section h3:hover .anchor-link,
.docs-section h4:hover .anchor-link {
  opacity: 1;
}

.docs-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 24px 0 12px;
  position: relative;
  scroll-margin-top: 80px;
}

.docs-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 20px 0 8px;
  position: relative;
  scroll-margin-top: 80px;
}

/* Anchor link icon */
.anchor-link {
  opacity: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  color: #1a73e8;
  transition: opacity 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
  vertical-align: middle;
}

.anchor-link:hover {
  color: #1557b0;
  text-decoration: none;
  opacity: 1 !important;
}

.anchor-link:focus {
  opacity: 1;
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.anchor-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.docs-section p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}

.docs-section p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Lists
   ======================================== */
.docs-list {
  margin: 16px 0;
  padding-left: 24px;
}

.docs-list li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #555;
}

.docs-list li strong {
  color: #333;
}

/* Simple numbered list (for FAQ and general use) */
.docs-section ol {
  margin: 16px 0;
  padding-left: 24px;
  list-style: decimal;
}

.docs-section ol li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #555;
  padding-left: 8px;
}

/* Numbered steps list (for instructional content) */
.docs-steps {
  list-style: none !important;
  padding: 0 !important;
  padding-left: 0 !important;
  margin: 24px 0;
  counter-reset: step-counter;
}

.docs-steps li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 24px;
  counter-increment: step-counter;
  min-height: 32px;
  list-style: none !important;
}

.docs-steps li > strong:first-child {
  display: block;
  padding-top: 4px;
}

.docs-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: #1a73e8;
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  line-height: 32px;
  text-align: center;
}

/* Override .docs-section ol styles for .docs-steps */
.docs-section ol.docs-steps {
  padding-left: 0 !important;
  list-style: none !important;
}

.docs-section ol.docs-steps li {
  padding-left: 44px;
  list-style: none !important;
}

/* ========================================
   Tables
   ======================================== */
.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.docs-table th,
.docs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.docs-table th {
  background: #f5f5f5;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.docs-table td {
  color: #555;
  font-size: 14px;
}

.docs-table tr:hover td {
  background: #fafafa;
}

/* ========================================
   Code Blocks
   ======================================== */
.docs-code {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
  overflow-x: auto;
}

.docs-code code {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 14px;
  color: #333;
}

.docs-inline-code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', Consolas, monospace;
  font-size: 13px;
  color: #d63384;
}

/* ========================================
   Callouts / Alerts
   ======================================== */
.docs-callout {
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid;
}

.docs-callout-info {
  background: #e8f4fd;
  border-color: #1a73e8;
}

.docs-callout-info .docs-callout-title {
  color: #1a73e8;
}

.docs-callout-warning {
  background: #fff8e6;
  border-color: #f59f00;
}

.docs-callout-warning .docs-callout-title {
  color: #e67700;
}

.docs-callout-danger {
  background: #fdf2f2;
  border-color: #dc3545;
}

.docs-callout-danger .docs-callout-title {
  color: #dc3545;
}

.docs-callout-success {
  background: #e8f5e9;
  border-color: #28a745;
}

.docs-callout-success .docs-callout-title {
  color: #28a745;
}

.docs-callout-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-callout p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

/* ========================================
   Image Placeholders
   ======================================== */
.docs-image-placeholder {
  background: #f0f4f8;
  border: 2px dashed #c0c8d0;
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  margin: 24px 0;
}

.docs-image-placeholder p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.docs-image {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 24px 0;
  display: block;
}

.docs-image-caption {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* ========================================
   Feature Lists
   ======================================== */
.docs-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.docs-feature {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}

.docs-feature h4 {
  font-size: 15px;
  margin: 0 0 8px;
  color: #333;
}

.docs-feature p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* ========================================
   Settings Groups (for settings page)
   ======================================== */
.docs-setting-group {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e0e0e0;
}

.docs-setting-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.docs-setting-item {
  margin-bottom: 20px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
}

.docs-setting-item h4 {
  font-size: 15px;
  color: #333;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-setting-item p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.docs-setting-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.docs-setting-badge-required {
  background: #fdf2f2;
  color: #dc3545;
}

.docs-setting-badge-optional {
  background: #e8f5e9;
  color: #28a745;
}

/* ========================================
   Error Message Styling
   ======================================== */
.docs-error-item {
  margin-bottom: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.docs-error-header {
  background: #fdf2f2;
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.docs-error-header h4 {
  color: #dc3545;
  margin: 0;
  font-size: 16px;
}

.docs-error-body {
  padding: 16px;
  background: white;
}

.docs-error-body p {
  margin: 0 0 12px;
  font-size: 14px;
}

.docs-error-body p:last-child {
  margin-bottom: 0;
}

.docs-error-solution {
  background: #e8f5e9;
  padding: 12px;
  border-radius: 6px;
  margin-top: 12px;
}

.docs-error-solution strong {
  color: #28a745;
}

/* ========================================
   Navigation Buttons
   ======================================== */
.docs-next-prev {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.docs-next-prev a {
  display: inline-block;
  padding: 12px 20px;
  background: #1a73e8;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.2s;
}

.docs-next-prev a:hover {
  background: #1557b0;
  text-decoration: none;
}

/* ========================================
   Documentation Responsive Design
   ======================================== */

/* Mobile Collapsible Treeview - Hidden checkbox inputs */
.docs-nav-toggle {
  display: none;
}

/* Mobile Collapsible Treeview - Toggle label (hidden on desktop) */
.docs-nav-section-header {
  display: none;
}

@media (max-width: 900px) {
  .docs-layout {
    flex-direction: column;
  }
  
  .docs-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 0;
  }
  
  /* Show toggle headers on mobile */
  .docs-nav-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 12px 16px;
    margin: 0 8px 4px;
    background: #f5f7fa;
    border-radius: 8px;
    transition: background-color 0.2s;
  }
  
  .docs-nav-section-header:hover {
    background: #e8f0fe;
  }
  
  .docs-nav-section-header h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
  }
  
  /* Chevron icon */
  .docs-nav-chevron {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }
  
  .docs-nav-chevron::before {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
  }
  
  /* Hide the original h4 inside section on mobile */
  .docs-nav-section > h4 {
    display: none;
  }
  
  /* Collapse sections by default on mobile */
  .docs-nav-section ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    margin: 0 8px;
  }
  
  /* Expand when checkbox is checked - using adjacent sibling selector */
  .docs-nav-toggle:checked + .docs-nav-section .docs-nav-chevron::before {
    transform: rotate(45deg);
  }
  
  .docs-nav-toggle:checked + .docs-nav-section ul {
    max-height: 500px;
  }
  
  .docs-main {
    max-width: 100%;
    padding: 24px;
  }
  
  .docs-card-grid {
    grid-template-columns: 1fr;
  }
  
  .docs-feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .docs-content h1 {
    font-size: 28px;
  }
  
  .docs-section {
    padding: 20px;
  }
  
  .docs-next-prev {
    flex-direction: column;
    gap: 12px;
  }
  
  .docs-next-prev a {
    text-align: center;
  }
}

/* ========================================
   Profile Page Styles
   Comprehensive styles for user profile management
   
   @author Kahn Wynyard
   @version 1.0.0
   ======================================== */

/* Profile Page Layout */
.profile-page {
  background-color: #f5f5f5;
  min-height: calc(100vh - 200px);
  padding: 32px 20px 48px;
}

.profile-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Profile Header Section */
.profile-header-section {
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 0;
  color: white;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.profile-header-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-header-info {
  min-width: 0; /* Allow flex child to shrink below content size */
  overflow: hidden;
}

.profile-header-info h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: white;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.profile-header-info p {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Profile Layout - Sidebar + Main Content */
.profile-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  margin-top: 24px;
}

/* Profile Sidebar Navigation */
.profile-sidebar {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #555;
  transition: all 0.2s;
  text-align: left;
  width: 100%;
}

.profile-nav-item:hover {
  background-color: #f5f5f5;
  color: #333;
}

.profile-nav-item:focus {
  outline: none;
}

.profile-nav-item:focus-visible {
  background-color: #f0f5ff;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.3);
}

.profile-nav-item.active {
  background-color: #e8f0fe;
  color: #1a73e8;
  font-weight: 600;
}

.profile-nav-item.active:hover {
  background-color: #d8e6fd;
}

.nav-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.nav-text {
  white-space: nowrap;
}

/* Profile Main Content Area */
.profile-main {
  min-width: 0;
}

/* Tab Panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel.active {
  display: block;
}

/* Profile Sections */
.profile-section {
  background: white;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.profile-section:last-child {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h2 {
  font-size: 22px;
  color: #333;
  margin: 0;
  font-weight: 700;
}

/* Profile Detail Grid */
.profile-details .detail-grid,
.org-details .detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.profile-details .detail-item,
.org-details .detail-item {
  padding: 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: background-color 0.2s;
}

.profile-details .detail-item:hover,
.org-details .detail-item:hover {
  background-color: #f0f4f8;
}

.profile-details .detail-item.full-width,
.org-details .detail-item.full-width {
  grid-column: 1 / -1;
}

/* Profile Detail Labels and Values */
.profile-details .detail-label,
.org-details .detail-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.profile-details .detail-value,
.org-details .detail-value {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  word-break: break-word;
}

.profile-form {
  background: transparent;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

/* Generic Detail Styles (fallback for modals and other areas) */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.detail-item {
  padding: 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.detail-item.full-width {
  grid-column: 1 / -1;
}

.detail-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.detail-value {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  word-break: break-word;
}

.form-row {
  display: grid;
   grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

/* Role Badge */
.role-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.role-badge.admin {
  background-color: #e8f0fe;
  color: #1a73e8;
}

.role-badge.owner {
  background-color: #fef7e0;
  color: #b8860b;
}

.role-badge.member {
  background-color: #f0f0f0;
  color: #666;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 24px;
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
}

.empty-state h3 {
  font-size: 22px;
  color: #333;
  margin: 0 0 12px;
  font-weight: 700;
}

.empty-state p {
  font-size: 16px;
  color: #666;
  margin: 0 0 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 32px;
  color: #666;
  font-size: 15px;
}

/* Button Loading Spinner */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* Members List */
.members-list {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.member-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.member-item:last-child {
  border-bottom: none;
}

.member-item:hover {
  background-color: #f8f9fa;
}

.member-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.member-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.member-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.member-email {
  font-size: 13px;
  color: #666;
}

.member-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-role {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.member-role.owner {
  background-color: #fef7e0;
  color: #b8860b;
}

.member-role.admin {
  background-color: #e8f0fe;
  color: #1a73e8;
}

.member-role.member {
  background-color: #f0f0f0;
  color: #666;
}

.member-role.pending {
  background-color: #fff3cd;
  color: #856404;
}

.member-btn {
  padding: 6px 12px;
  font-size: 13px;
}

/* Admin Actions */
.admin-actions {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

/* Danger Zone */
.danger-zone {
  border: 1px solid #f5c6cb;
  background-color: #fff8f8;
}

.danger-zone h3 {
  font-size: 18px;
  color: #dc3545;
  margin: 0 0 12px;
  font-weight: 700;
}

.danger-zone p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0 0 20px;
}

/* Danger Button */
.btn-danger {
  background-color: var(--color-danger);
  color: white;
  border: 2px solid var(--color-danger);
}

.btn-danger:hover {
  background-color: #c82333;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  padding: 20px;
}

.modal-content {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content.modal-small {
  max-width: 400px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0;
  margin-bottom: 24px;
}

.modal-header h2 {
  font-size: 22px;
  color: #333;
  margin: 0;
  font-weight: 700;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
}

.modal-close:hover {
  background-color: #e0e0e0;
  color: #333;
}

.modal-content form {
  padding: 0 24px 24px;
  background: transparent;
  box-shadow: none;
  margin: 0;
  border-radius: 0;
}

.modal-content p {
  padding: 0 24px;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  padding: 20px 24px 24px;
  border-top: 1px solid #e0e0e0;
}

.member-info-display {
  padding: 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Select Styling */
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-right: 40px;
}

/* Extension Section in Profile */
.profile-section.extension-download-section {
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  color: white;
  text-align: center;
}

.profile-section.extension-download-section h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: white;
  font-weight: 700;
}

.profile-section.extension-download-section p {
  font-size: 16px;
  opacity: 0.95;
  margin-bottom: 20px;
}

.profile-section.extension-download-section .btn-primary {
  background-color: white;
  color: #1a73e8;
}

.profile-section.extension-download-section .btn-primary:hover {
  background-color: #f5f5f5;
}

.extension-note {
  font-size: 14px !important;
  opacity: 0.85;
  margin-top: 16px;
  margin-bottom: 0 !important;
}

/* ========================================
   Profile Page Responsive Design
   ======================================== */
@media (max-width: 768px) {
  .profile-page {
    padding: 20px 16px 32px;
  }
  
  .profile-header-section {
    padding: 24px 20px;
    border-radius: 12px;
  }
  
  .profile-header-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .profile-avatar {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
  
  .profile-header-info h1 {
    font-size: 20px;
  }
  
  .profile-header-info p {
    font-size: 14px;
  }
  
  /* Stack sidebar above main content on mobile */
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  
  .profile-sidebar {
    position: static;
    top: auto;
  }
  
  .profile-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .profile-nav-item {
    flex: 1 1 auto;
    min-width: 100px;
    justify-content: center;
    padding: 12px 14px;
  }
  
  .nav-icon {
    font-size: 18px;
  }
  
  /* Profile sections */
  .profile-section {
    padding: 20px;
    border-radius: 10px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .section-header h2 {
    font-size: 18px;
  }
  
  /* Detail grids - single column on mobile */
  .profile-details .detail-grid,
  .org-details .detail-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .form-actions .btn {
    width: 100%;
  }
  
  /* Members list on mobile */
  .member-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
  
  .member-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  /* Modal adjustments */
  .modal-content {
    margin: 16px;
    max-width: calc(100% - 32px);
  }
  
  .modal-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .modal-actions .btn {
    width: 100%;
  }
}

/* ========================================
   Cookie Consent Banner
   Non-invasive, accessible cookie consent UI
   ======================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.cookie-consent-banner--visible {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 280px;
}

.cookie-consent-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px 0;
}

.cookie-consent-description {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.cookie-consent-link {
  color: #1a73e8;
  text-decoration: underline;
}

.cookie-consent-link:hover {
  color: #1557b0;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-consent-btn {
  padding: 10px 20px;
  font-size: 14px;
  min-width: 110px;
}

/* Override button colors for cookie consent (white background context) */
.cookie-consent-banner .btn-secondary {
  background-color: transparent;
  color: #333;
  border: 2px solid #333;
}

.cookie-consent-banner .btn-secondary:hover {
  background-color: #f5f5f5;
  color: #1a73e8;
  border-color: #1a73e8;
}

.cookie-consent-banner .btn-primary {
  background-color: #1a73e8;
  color: white;
  border: 2px solid #1a73e8;
}

.cookie-consent-banner .btn-primary:hover {
  background-color: #1557b0;
  color: white;
  border-color: #1557b0;
}

/* Customize/Details Section */
.cookie-consent-details {
  border-top: 1px solid #e0e0e0;
  background-color: #fafafa;
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-consent-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.cookie-consent-category {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  transition: border-color 0.2s;
}

.cookie-consent-category:hover {
  border-color: #1a73e8;
}

.cookie-consent-category-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.cookie-consent-category-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #1a73e8;
}

.cookie-consent-category-label input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-consent-category-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cookie-consent-category-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.cookie-consent-category-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.cookie-consent-category-required {
  font-size: 12px;
  color: #888;
  font-style: italic;
}

.cookie-consent-details-actions {
  display: flex;
  justify-content: flex-end;
}

/* Small screens - stack more aggressively */
@media (max-width: 480px) {
  .cookie-consent-title {
    font-size: 15px;
  }
  
  .cookie-consent-description {
    font-size: 13px;
  }
  
  .cookie-consent-btn {
    padding: 12px 16px;
    font-size: 13px;
  }
}

/* ========================================
   Subscription Status Section
   ======================================== */

/* Subscription Plan Card */
.subscription-plan-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.subscription-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.subscription-plan-info {
  flex: 1;
}

.subscription-plan-badge {
  display: inline-block;
  background: #1a1a2e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.subscription-plan-name {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 4px 0;
  text-transform: capitalize;
}

.subscription-plan-description {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.subscription-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Subscription Details */
.subscription-details {
  margin-bottom: 24px;
}

.subscription-info-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.subscription-info-row:last-child {
  margin-bottom: 0;
}

.subscription-info-item {
  background: #f8fafc;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.subscription-info-item.subscription-info-highlight {
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
  border-color: #fcd34d;
  grid-column: 1 / -1;
}

.subscription-info-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.subscription-info-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

/* Subscription Actions */
.subscription-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.subscription-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Subscription Alert */
.subscription-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.subscription-alert-warning {
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
  border: 1px solid #fcd34d;
}

.subscription-alert-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.subscription-alert strong {
  display: block;
  font-size: 14px;
  color: #92400e;
  margin-bottom: 4px;
}

.subscription-alert p {
  font-size: 13px;
  color: #a16207;
  margin: 0;
}

/* Subscription Empty State */
.subscription-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
}

.subscription-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.subscription-empty-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.subscription-empty-description {
  font-size: 15px;
  color: #64748b;
  margin: 0 0 24px 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.subscription-empty-state .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Subscription Responsive */
@media (max-width: 640px) {
  .subscription-plan-header {
    flex-direction: column;
    gap: 16px;
  }
  
  .subscription-status-badge {
    align-self: flex-start;
  }
  
  .subscription-plan-name {
    font-size: 24px;
  }
  
  .subscription-info-row {
    grid-template-columns: 1fr;
  }
  
  .subscription-actions {
    flex-direction: column;
  }
  
  .subscription-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   Toast Notification System
   ======================================== */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--color-primary);
  animation: toast-slide-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s ease;
}

.toast.toast-exiting {
  animation: toast-slide-out 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.toast-content {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

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

.toast-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.toast-close:hover {
  background: var(--color-background);
  color: var(--color-text-primary);
}

/* Toast Variants */
.toast.toast-success {
  border-left-color: var(--color-success);
}

.toast.toast-success .toast-icon {
  background: var(--color-success-light);
  color: var(--color-success);
}

.toast.toast-error {
  border-left-color: var(--color-danger);
}

.toast.toast-error .toast-icon {
  background: var(--color-danger-light);
  color: var(--color-danger);
}

.toast.toast-warning {
  border-left-color: var(--color-warning);
}

.toast.toast-warning .toast-icon {
  background: var(--color-warning-light);
  color: var(--color-warning);
}

.toast.toast-info {
  border-left-color: var(--color-primary);
}

.toast.toast-info .toast-icon {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* Toast Animations */
@keyframes toast-slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toast-slide-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ========================================
   Custom Confirm Dialog Enhancement
   ======================================== */
.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-icon.modal-icon-warning {
  background: var(--color-warning-light);
  color: var(--color-warning);
}

.modal-icon.modal-icon-danger {
  background: var(--color-danger-light);
  color: var(--color-danger);
}

.modal-icon.modal-icon-info {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.modal-icon svg {
  width: 28px;
  height: 28px;
}

.modal-body-centered {
  text-align: center;
  padding: 24px;
}

.modal-body-centered h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.modal-body-centered p {
  padding: 0;
  margin-bottom: 0;
}

/* Mobile responsiveness for toasts */
@media (max-width: 480px) {
  .toast-container {
    left: 12px;
    right: 12px;
    max-width: none;
  }
}
