/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f8f9fa; /* Light gray background */
    color: #212529; /* Dark primary text */
    line-height: 1.6;
    padding: 0;
    display: block;
    justify-content: center;
    min-height: 100vh;
    padding-top: 80px; /* Adjust this value based on the banner's final height */
  }

  .platform-card img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
  }
  
  .platform-card {
    text-align: center;
  }

  .notice-card.i2v-notice {
    background-color: #f8d7da; /* Light red background (Bootstrap danger) */
    border-color: #f5c6cb;  /* Reddish border */
    color: #721c24;      /* Dark red text */
    font-weight: 500; /* Make it slightly bolder */
}

.graduation-goal-banner-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.graduation-goal-banner {
  position: fixed; /* Makes the banner sticky */
  top: 0;
  left: 0;
  width: 100%;     /* Makes the banner span the full width */
  z-index: 1000;   /* Ensures it's on top of other content */

  background-color: #2c3e50; /* Dark blue-grey (matches your screenshot) */
  color: #ecf0f1;    /* Light text color */
  padding: 10px 15px; /* Padding for content inside banner */
  text-align: center;
  border-bottom: 3px solid #27ae60; /* Green accent border (matches your screenshot) */
  box-sizing: border-box; /* Includes padding and border in the element's total width and height */
  cursor: pointer;
}

.graduation-goal-banner:hover {
  background-color: #34495e; /* Slightly lighter on hover */
}

.graduation-goal-banner h3 {
  margin: 0 0 6px 0; /* Space between title and progress bar */
  font-size: 1.1em;
  font-weight: 600;
  color: #fff;
}

.graduation-banner-progress-container {
  background-color: #7f8c8d; /* Grey track for the progress bar */
  border-radius: 20px;
  height: 18px; /* Height of the progress bar */
  width: 60%;   /* Width of the progress bar relative to banner */
  max-width: 350px; /* Max width for very wide screens */
  margin: 0 auto; /* Center the progress bar */
  overflow: hidden; /* Keeps the fill within rounded corners */
  position: relative; /* For positioning the percentage text */
}

.graduation-banner-progress-fill {
  background-color: #27ae60; /* Green for progress fill */
  height: 100%;
  width: 0%; /* Initial width, will be set by JS */
  border-radius: 20px; /* Smooth rounded corners */
  transition: width 0.5s ease-in-out, background-color 0.3s ease;
}

.graduation-banner-progress-percentage {
  position: absolute; /* Position text over the progress bar */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the text */
  font-size: 0.75em;
  font-weight: bold;
  color: #fff; /* White text */
  text-shadow: 1px 1px 1px rgba(0,0,0,0.3); /* Shadow for readability */
  white-space: nowrap; /* Prevent text from wrapping */
}

.scene-card.locked-scene {
  position: relative;
  overflow: hidden;
}

.scene-card.locked-scene .prompt-text {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.lock-overlay-inner {
  max-width: 520px;
  text-align: center;
}

.lock-overlay-inner h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.lock-overlay-inner p {
  margin: 0 0 1rem;
  color: #555;
}

.lock-overlay-inner a {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}


/* Responsive adjustments */
@media (max-width: 480px) {
  .graduation-goal-banner h3 {
      font-size: 1em;
  }
  .graduation-banner-progress-container {
      width: 75%;
      height: 16px;
  }
  .graduation-banner-progress-percentage {
      font-size: 0.7em;
  }
}


.launch-special-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #27ae60; /* A nice, positive green */
  color: #fff;
  text-align: center;
  padding: 10px 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  font-weight: 500;
}

.launch-special-banner p {
  margin: 0;
  font-size: 0.9em;
}

/* Adjust body padding to prevent content from hiding under the banner */
body {
  padding-top: 50px; /* Adjust this value if the banner height changes */
}

@media (max-width: 480px) {
  .launch-special-banner p {
      font-size: 0.85em;
  }
  body {
      padding-top: 45px;
  }
}


body {
  padding-top: 80px; /* Adjust this value based on the banner's final height */
}

/* If your main content is in a div like <div class="main-app-content"> */
/*
.main-app-content {
  padding-top: 70px; /* Adjust this value */



  .ai-disclaimer {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    text-align: center;
}
  
  .container {
    width: 100%;
    max-width: 960px; /* Slightly wider for better spacing */
    margin: 0 auto;
  }
  
  /* Card Styling */
  .card {
    background-color: #ffffff; /* White card background */
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #dee2e6; /* Light border */
  }
  
  /* Header */
  .app-header {
    text-align: center;
    margin-bottom: 2rem; /* More space below header */
  }
  
  .app-header h1 {
    color: #343a40;
    font-size: 2rem; /* Adjusted size */
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .app-header .subtitle {
    color: #6c757d; /* Gray subtitle text */
    font-size: 1rem;
  }
  
  /* Upload Section Specific */
  .upload-card {
      border-top: 4px solid #007bff; /* Blue accent */
  }
  
  .upload-area {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .file-label {
    display: flex; /* Use flex for icon and text */
    flex-direction: column; /* Stack icon and text */
    align-items: center;
    justify-content: center;
    border: 2px dashed #ced4da; /* Dashed border */
    padding: 2rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    background-color: #f8f9fa;
    color: #6c757d;
  }
  
  .file-label svg {
      margin-bottom: 0.75rem;
      width: 32px; /* Larger icon */
      height: 32px;
      stroke: #6c757d;
  }
  
  .file-label:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
  }
  
  .file-label span {
    font-weight: 500;
    font-size: 0.95rem;
  }
  
  #files { display: none; } /* Hide default input */
  
  #file-list {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center; /* Center file list text */
  }
  
  /* Buttons */
  .button-primary {
    background-color: #007bff;
    color: white;
    padding: 0.75rem 1.5rem; /* Slightly adjusted padding */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: block; /* Make button block */
    width: 100%; /* Full width */
    text-align: center;
  }
  
  .button-primary:hover { background-color: #0056b3; }
  .button-primary:active { transform: scale(0.99); }
  .button-primary:disabled {
      background-color: #6c757d;
      cursor: not-allowed;
  }
  
  
  /* Loading Indicator */
  #loading-indicator {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 1.5rem;
      color: #495057;
  }
  .spinner {
      border: 4px solid #f3f3f3; /* Light grey */
      border-top: 4px solid #007bff; /* Blue */
      border-radius: 50%;
      width: 24px;
      height: 24px;
      animation: spin 1s linear infinite;
      margin-right: 10px;
  }
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Error Box */
  .error-box {
      margin-top: 1.5rem;
      padding: 1rem;
      background-color: #f8d7da;
      color: #721c24;
      border: 1px solid #f5c6cb;
      border-radius: 6px;
      text-align: center;
  }
  
  /* Results Section */
  .results-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.75rem;
  }
  
  #new-analysis-button {
    /* Basic styling, adjust as needed */
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}


  /* Stats Overview */
  .stats-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid */
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #f8f9fa; /* Slightly off-white background */
    border: 1px solid #dee2e6;
  }
  
  .stat-item {
    text-align: center;
    padding: 1rem;
    background-color: #fff; /* White background for each stat item */
    border-radius: 6px;
    border: 1px solid #e9ecef;
  }
  
  .stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d; /* Gray label */
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  .stat-value {
    display: block;
    font-size: 2.5rem; /* Large stat number */
    font-weight: 700;
    line-height: 1.1;
  }
  
  .stat-subtext {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.25rem;
  }
  
  /* Stat Colors */
  .score-good { color: #28a745; } /* Green */
  .score-fair { color: #fd7e14; } /* Orange */
  .score-poor { color: #dc3545; } /* Red */
  .issues-critical { color: #dc3545; } /* Red */
  .issues-moderate { color: #fd7e14; } /* Orange */
  .issues-low { color: #28a745; } /* Green */
  
  /* Summary & Issues Section */
  .summary-details-card h3, #issues-list h3 {
      font-size: 1.25rem;
      font-weight: 600;
      color: #343a40;
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid #e9ecef;
  }
  .summary-details-card p {
      color: #495057;
  }
  #issues-list {
      margin-top: 2rem; /* Space above detailed issues */
  }
  .no-issues-card {
      background-color: #e2f0e1; /* Light green background */
      border-color: #c3e6cb;
      text-align: center;
      padding: 1.5rem;
  }
  .no-issues-card p {
      color: #155724; /* Dark green text */
      font-weight: 500;
  }
  
  
  /* Accordion Styling (<details>) */
  details.issue-details {
    margin-bottom: 1rem;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    overflow: hidden; /* Important for border-radius */
  }
  
  details summary {
    display: flex; /* Use flex for layout */
    align-items: center;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    background-color: #f8f9fa; /* Light header background */
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.2s ease;
    list-style: none; /* Remove default marker */
    position: relative; /* For custom arrow positioning */
  }
  details summary:hover {
      background-color: #e9ecef;
  }
  
  details summary::-webkit-details-marker { display: none; } /* Hide default marker */
  
  /* Custom Arrow */
  details summary::after {
      content: '▼';
      font-size: 0.8em;
      color: #6c757d;
      margin-left: auto; /* Push arrow to the right */
      transition: transform 0.2s ease;
  }
  details[open] summary::after {
      transform: rotate(-180deg);
  }
  
  .severity-badge {
    padding: 0.25em 0.6em;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.25rem;
    margin-right: 0.75rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  
  /* Severity Badge Colors */
  .severity-critical, .severity-high { background-color: #dc3545; } /* Red */
  .severity-medium { background-color: #fd7e14; } /* Orange */
  .severity-low { background-color: #28a745; } /* Green */
  .severity-unknown { background-color: #6c757d; } /* Gray */
  
  
  .issue-title {
    font-weight: 600;
    color: #343a40;
  }
  
  /* Accordion Content */
  .issue-content {
    padding: 1.5rem 1.2rem;
  }
  
  .issue-content p, .issue-content div {
    margin-bottom: 1rem;
    color: #495057;
  }
  .issue-content strong {
      color: #212529; /* Darker text for labels */
      font-weight: 600;
  }

  .button-secondary {
    background-color: #6c757d;
    color: white;
    /* Add other button styles like border-radius, cursor, transition */
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}
.button-secondary:hover {
    background-color: #5a6268;
}
.button-secondary:disabled {
    background-color: #adb5bd;
    cursor: not-allowed;
}

#secure.upgrade-needed {
    background-color: #ffc107; /* Example: Warning yellow */
    color: #212529;
    border-color: #ffc107;
}
#secure.upgrade-needed:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

  
  .issue-content pre {
    background: #e9ecef; /* Light background for code */
    color: #212529; /* Dark text */
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 0.875rem; /* Slightly smaller code font */
    border: 1px solid #ced4da;
    margin-top: 0.5rem; /* Space above code block */
  }
  .code-block-label {
      font-weight: 600;
      color: #343a40;
      display: block;
      margin-bottom: 0.25rem; /* Space between label and code */
  }

  /* Auth Card Specifics */
.auth-card, .status-card {
    max-width: 450px; /* Limit width for auth forms/status messages */
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem; /* Add some top margin */
    text-align: center; /* Center align content in these cards */
}

.auth-card h2, .status-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 1.5rem;
}

/* Form Styling */
.auth-form .form-group {
    margin-bottom: 1.25rem;
    text-align: left; /* Align labels/inputs left within the centered card */
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Make primary button full width inside auth forms */
.auth-form .button-primary {
    width: 100%;
    margin-top: 0.5rem; /* Add a little space above the button */
}

/* Link below auth forms */
.auth-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.auth-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

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

/* Error message specifically within auth forms */
.auth-error {
    margin-top: 1rem;
    /* Inherits .error-box styles (red background etc) if class is added */
    /* Add specific styling if needed */
    font-weight: 500;
}

/* Status Page Specifics */
.status-card p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 1.5rem;
}

.status-card .button-primary,
.status-card .button-secondary { /* Add styling for secondary button if needed */
    display: inline-block; /* Allow multiple buttons side-by-side if needed */
    width: auto; /* Auto width for links/buttons */
    padding: 0.6rem 1.5rem;
    margin: 0 0.5rem;
}

/* Optional: Style success/cancel cards */
.success-card {
    border-top: 4px solid #28a745; /* Green top border */
}
.success-card h2 {
    color: #28a745; /* Green heading */
}

.cancel-card {
     border-top: 4px solid #ffc107; /* Yellow top border */
}
.cancel-card h2 {
    color: #ffc107; /* Yellow heading */
}

/* Style for button links if used */
.button-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border: 1px solid #007bff;
    background-color: #fff;
    color: #007bff;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
}
.button-link:hover {
    background-color: #007bff;
    color: #fff;
}

/* Minor adjustments for auth container on index */
.auth-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem; /* Reduced padding */
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.auth-container p {
    margin: 0;
}
.auth-container .button-secondary,
.auth-container .button-link {
    padding: 0.4rem 0.8rem; /* Smaller buttons */
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

  
  
  /* Utility Classes */
  .hidden { display: none !important; }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    body { padding: 1rem 0.5rem; }
    .container { padding: 0 0.5rem; }
    .card, .modal-content { padding: 1rem 1.2rem; }
    .app-header h1 { font-size: 1.8rem; }
    .app-header .subtitle { font-size: 0.95rem; }
  
    .stats-card {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
        gap: 1rem;
    }
    .stat-value { font-size: 2rem; }
  }


  
  @media (max-width: 480px) {
      .stats-card {
          grid-template-columns: 1fr; /* Single column on very small screens */
      }
       details summary {
          padding-right: 2.5rem; /* Ensure space for arrow */
       }
       details summary::after {
          right: 1rem; /* Position arrow */
       }
  }


:root {
  /* Modern AI Palette */
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --primary-solid: #4f46e5;
  --primary-hover: #4338ca;
  
  --bg-page: #f3f4f6;
  --bg-card: #ffffff;
  
  --text-main: #111827;
  --text-muted: #6b7280;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
}

/* Make Typography "Tight" and Modern */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.025em; /* Tighter tracking looks more professional */
}

/* --- Upgrade the Cards --- */
.card, .upload-card, .scene-card, .pricing-card, .platform-card {
  border: 1px solid rgba(229, 231, 235, 0.5); /* Very subtle border */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Remove the blue top border from upload card - it looks dated */
.upload-card {
  border-top: none;
  position: relative;
  overflow: hidden;
}

/* Add a subtle color glow at the top instead */
.upload-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
}
.upload-area {
  background-color: #f9fafb;
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  border: 2px dashed #e5e7eb;
  transition: all 0.3s ease;
}

.upload-area:hover, .upload-area.drag-over {
  background-color: #eef2ff; /* Very light indigo */
  border-color: var(--primary-solid);
}

.file-label {
  background: transparent;
  border: none;
  padding: 0;
}

.file-label svg {
  stroke: var(--primary-solid); /* Color the icon */
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 6px rgba(79, 70, 229, 0.2));
}

#file-label-text {
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1rem;
}
.feature-toggle {
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 4px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); 
}

.toggle-option {
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.toggle-option.active {
  background-color: #ffffff;
  color: var(--primary-solid);
  box-shadow: var(--shadow-sm);
  border-color: rgba(0,0,0,0.05);
}
.button-primary {
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3); /* Colored shadow */
  transition: all 0.3s ease;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
  filter: brightness(1.1);
}

.button-primary:active {
  transform: translateY(0);
}
/* Text inputs and Textareas */
input[type="text"], input[type="url"], textarea {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 0.875rem;
  background-color: #f9fafb;
  font-size: 0.95rem;
  transition: all 0.2s;
}

input:focus, textarea:focus {
  background-color: #fff;
  border-color: var(--primary-solid);
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Radio Button Group (Model Selection) */
.model-select-group {
  gap: 0.75rem;
}

.model-select-group label {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s;
  font-size: 0.9rem;
  font-weight: 500;
}

.model-select-group label:hover {
  border-color: var(--primary-solid);
  color: var(--primary-solid);
}

/* Style the radio input itself */
.model-select-group input[type="radio"] {
  accent-color: var(--primary-solid);
}
.prompt-text {
  background-color: #1e1e1e; /* Dark code editor theme */
  color: #e2e8f0; /* Light code text */
  border: none;
  border-radius: 8px;
  padding: 1.25rem;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.95em;
  line-height: 1.7;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

/* Optional: Add a "Copy" hint styling if you add a copy button later */
.scene-card h3 {
  border-bottom: none;
  color: var(--primary-solid);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  background: rgba(79, 70, 229, 0.1);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.launch-special-banner {
  background: #111827; /* Dark almost black */
  background: linear-gradient(90deg, #111827 0%, #1f2937 100%);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 12px 15px;
  font-size: 0.95rem;
}

.launch-special-banner strong {
  color: #34d399; /* Bright Emerald Green for the price/deal */
}

/* Add a glowing dot to draw attention */
.launch-special-banner::before {
  display: none; /* Reset if previously set */
}

/* --- Resource Grid Styling --- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.resource-card {
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px; /* Matches modern radius */
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.resource-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-solid, #4f46e5); /* Uses your main color */
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.resource-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f3f4f6;
  border-radius: 8px;
  color: var(--text-muted, #6b7280);
  margin-right: 1rem;
  flex-shrink: 0;
}

.resource-card:hover .resource-icon {
  background-color: #eef2ff; /* Light Indigo */
  color: var(--primary-solid, #4f46e5);
}

.resource-content {
  flex-grow: 1;
}

.resource-content h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.resource-content p {
  margin: 0.25rem 0 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.resource-arrow {
  color: #d1d5db;
  font-weight: bold;
  transition: transform 0.2s;
}

.resource-card:hover .resource-arrow {
  color: var(--primary-solid, #4f46e5);
  transform: translateX(4px);
}

/* --- Modern Footer Styling --- */
.modern-footer {
  width: 100%;
  background-color: #111827; /* Dark Slate / Almost Black */
  color: #9ca3af; /* Light Grey Text */
  padding: 4rem 0 2rem 0;
  margin-top: auto;
  font-size: 0.9rem;
  display: block;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo .logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: #9ca3af;
  transition: color 0.2s;
}

.footer-socials a:hover {
  color: #fff;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-group a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-group a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Mobile Adjustments for Footer */
@media (max-width: 600px) {
  .footer-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  
  .footer-links-group {
      align-items: center;
  }
}

/* --- Auth Status Dashboard Styles --- */
.auth-status-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* Slightly more breathing room on desktop */
  width: 100%; /* Force full width */
  box-sizing: border-box; /* Include padding in width calculation */
  flex: 1; /* Grow to fill parent */
}

.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.status-pill {
  background-color: #e9ecef;
  color: #555;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pill.premium {
  background-color: #d4edda;
  color: #155724;
}

.usage-container {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e9ecef;
}

.usage-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  transition: width 0.4s ease;
}

.progress-fill.full {
  background: #dc3545; /* Red when out of tries */
}

.cta-container {
  text-align: center;
}

.cta-text {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.auth-buttons-grid {
  display: grid;
  /* Desktop: 2 equal columns */
  grid-template-columns: 1fr 1fr; 
  gap: 1rem;
  width: 100%; /* Force grid to take full width */
}

.btn-auth-primary {
  background-color: #007bff;
  color: white;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
  display: block;
}

.btn-auth-primary:hover {
  background-color: #0056b3;
}

.btn-auth-secondary {
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  display: block;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .auth-buttons-grid {
      grid-template-columns: 1fr; /* Stack vertically on mobile */
  }
  
  .auth-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
  }
  
  .status-pill {
      align-self: flex-start;
  }
}



/* =========================================
  CONTACT PAGE STYLES
  ========================================= */

/* Navigation Bar */
.simple-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0 3rem 0;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: #111827;
    text-decoration: none;
    letter-spacing: -0.025em;
}

.nav-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #4f46e5; /* var(--primary-solid) */
}

/* Contact Card Container */
.contact-wrapper {
    max-width: 600px; /* Narrower for better focus */
    margin: 0 auto 5rem auto;
}

.contact-card {
    padding: 3rem 2rem !important;
    text-align: center;
}

/* Header Text */
.contact-header {
    margin-bottom: 2.5rem;
}

.contact-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.contact-header p {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Direct Email Styling */
.direct-email-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mail-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #eef2ff; /* Light indigo background */
    color: #4f46e5; /* Primary color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.email-intro {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.big-email-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
    word-break: break-all; /* Ensures long emails don't break mobile layout */
}

.big-email-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

.response-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 2rem;
}

.support-topics {
    font-size: 0.85rem;
    color: #9ca3af;
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    width: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .contact-card {
        padding: 2rem 1.5rem !important;
    }
    
    .contact-header h1 {
        font-size: 1.75rem;
    }

    .big-email-link {
        font-size: 1.25rem;
    }
}
/* =========================================
   CONTACT PAGE STYLES
   ========================================= */
/* =========================================
   LEGAL / POLICY PAGE STYLES
   ========================================= */

/* Wrapper for legal pages (Refund, Privacy, Terms) */
/* Wider than contact form for better readability of long text */
.policy-wrapper {
    max-width: 800px; 
    margin: 0 auto 5rem auto;
}

.policy-card {
    padding: 3rem 4rem !important; /* Generous padding for documents */
    text-align: left; /* Ensure text is left-aligned for reading */
}

/* Header Section */
.policy-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.policy-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.last-updated {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

/* Main Content Typography */
.policy-content {
    font-size: 1rem;
    color: #374151; /* Dark gray for high contrast reading */
}

.policy-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-top: 2.5rem; /* Space before new sections */
    margin-bottom: 1rem;
}

.policy-content p {
    line-height: 1.75; /* Improved readability */
    margin-bottom: 1.25rem;
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-content strong {
    color: #111827;
    font-weight: 600;
}

/* Highlight box for contact details in policy */
.contact-highlight {
    background-color: #f9fafb;
    border-left: 4px solid #4f46e5;
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.contact-highlight a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
}

.contact-highlight a:hover {
    text-decoration: underline;
}

.policy-footer-note {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #e5e7eb;
    font-size: 0.95rem;
    font-style: italic;
    color: #6b7280;
}

/* Mobile Adjustments for Policy Pages */
@media (max-width: 640px) {
    .policy-card {
        padding: 2rem 1.5rem !important;
    }
    
    .policy-header h1 {
        font-size: 1.75rem;
    }
}
/* =========================================
   LEGAL / POLICY PAGE STYLES
   ========================================= */
/* =========================================
   PRICING PAGE STYLES
   ========================================= */

/* Use a specific container override for pricing page width */
.container.pricing-container {
    max-width: 1200px;
}

/* Header Section */
.pricing-header {
    text-align: center;
    max-width: 700px;
    margin: 3rem auto 4rem;
}

.pricing-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #111827;
}

.pricing-header p {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

/* Pricing Card */
.plan-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    position: relative;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.plan-card.popular {
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1), 0 2px 4px -1px rgba(59, 130, 246, 0.06);
    transform: scale(1.02);
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.plan-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 2rem;
    min-height: 40px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 2px;
}

.price-period {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    margin-left: 4px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #374151;
}

.features-list svg {
    width: 20px;
    height: 20px;
    color: #10b981;
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.btn-outline {
    background-color: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

.btn-outline:hover {
    border-color: #374151;
    color: #111827;
    background-color: #f9fafb;
}

.btn-primary.btn-plan {
    /* More specific to override generic .btn-primary */
    background-color: #3b82f6;
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.4);
}

.btn-primary.btn-plan:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

/* Support Section */
.support-section {
    margin-top: 2rem;
    padding: 1rem;
    text-align: center;
    color: #4b5563;
    font-size: 0.95rem;
    background-color: #fff;
    border-radius: 0.5rem;
    border: 1px dashed #e5e7eb;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.support-section a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.support-section a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 4rem auto 2rem;
}

.faq-header {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2rem;
}

.faq-item {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    color: #111827;
}

.payment-security {
    text-align: center;
    margin-top: 3rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .pricing-header h1 {
        font-size: 2rem;
    }
    .plan-card.popular {
        transform: none;
        margin: 1rem 0;
    }
}
/* =========================================
   END PRICING PAGE STYLES
   ========================================= */