:root {
    --bg-page: #F8FAFC;
    --bg-hero-start: #F0FDFA;
    --bg-hero-end: #F1F5F9;
    --bg-card: #FFFFFF;
    --primary-accent: #0D9488;
    --primary-accent-light: #CCFBF1;
    --text-dark: #1E293B;
    --text-medium: #475569;
    --text-light: #94A3B8;
    --border-color: #E2E8F0;
    --error-bg: #FEF2F2;
    --error-text: #DC2626;
    --error-border: #FECACA;
    --warning-bg: #FFFBEB;
    --warning-text: #B45309;
    --success-bg: #ECFDF5;
    --success-text: #065F46;
    --success-border: #A7F3D0;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-medium);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4 {
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 600;
  }
  
  h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
  }
  
  h2.section-title {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    margin-bottom: 1.25rem;
  }
  
  h3.subsection-title {
    font-size: clamp(1rem, 3vw, 1.1rem);
    margin-bottom: 0.75rem;
  }
  
  /* Navigation */
  .navbar {
    background-color: var(--bg-card);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
  }
  
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem clamp(0.75rem, 3vw, 1rem);
  }
  
  .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .nav-logo {
    height: 32px;
    width: auto;
  }
  
  .brand-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
  }
  
  /* Navigation Toggle */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.25rem;
    z-index: 1002;
  }
  
  .nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  /* Navigation Slider */
  .nav-slider {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-card);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    overflow-y: auto;
  }
  
  .nav-slider.active {
    right: 0;
  }
  
  .slider-content {
    padding: 1.5rem;
    height: 100%;
  }
  
  .slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .slider-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
  }
  
  .slider-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .slider-link {
    display: block;
    padding: 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s;
  }
  
  .slider-link:hover, .slider-link.active {
    background-color: var(--primary-accent-light);
    color: var(--primary-accent);
  }
  
  /* Overlay when slider is open */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* Hero Section */
  .hero-section {
    background: linear-gradient(135deg, var(--bg-hero-start) 0%, var(--bg-hero-end) 100%);
    padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .hero-text p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 2rem;
    color: var(--text-medium);
  }
  
  /* Cards */
  .card {
    background-color: var(--bg-card);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  .main-card {
    margin-top: 2rem !important;
    position: relative;
    z-index: 10;
  }
  
  /* Centered Form Container */
  .centered-form-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
  }
  
  /* Form Elements */
  .form-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .loan-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .input-group label {
    font-weight: 500;
    color: var(--text-dark);
  }
  
  .input-group input, .input-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
    background-color: white;
  }
  
  .input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
  }
  
  .input-help {
    font-size: 0.875rem;
    color: var(--text-light);
  }
  
  /* Buttons */
  .calculate-button {
    background-color: var(--primary-accent);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    width: 100%;
    margin: 2rem 0 !important;
  }
  
  .calculate-button:hover {
    background-color: #0f766e;
    transform: translateY(-2px);
  }
  
  .cta-button {
    display: inline-block;
    background-color: var(--primary-accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
  }
  
  .cta-button:hover {
    background-color: #0f766e;
    transform: translateY(-2px);
  }
  
  .action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    text-align: center;
  }
  
  .action-button:hover {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
  }
  
  .action-button.secondary {
    background-color: var(--bg-page);
  }
  
  .quick-calc-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    flex: 1;
    min-height: 70px;
    flex-direction: column;
    text-align: center;
  }
  
  .quick-calc-button:hover {
    border-color: var(--primary-accent);
    background-color: var(--primary-accent-light);
    color: var(--primary-accent);
    transform: translateY(-2px);
  }
  
  .quick-calc-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  
  /* Results Section */
  .results-section {
    background-color: var(--bg-page);
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    margin-top: 1.5rem !important;
  }
  
  .results-display {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .result-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .result-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
  }
  
  .result-card.result-highlight {
    background: linear-gradient(135deg, var(--primary-accent) 0%, #0f766e 100%);
    color: white;
  }
  
  .result-title {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .result-card.result-highlight .result-title {
    color: rgba(255, 255, 255, 0.9);
  }
  
  .result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
  }
  
  .result-card.result-highlight .result-value {
    color: white;
    font-size: 2rem;
  }
  
  /* Breakdown Section */
  .breakdown-section {
    margin-top: 2rem;
  }
  
  .breakdown-chart {
    display: flex;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-top: 1rem;
  }
  
  .chart-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .principal-bar {
    background-color: var(--primary-accent);
    color: white;
  }
  
  .interest-bar {
    background-color: var(--text-light);
    color: white;
  }
  
  .chart-label {
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
  }
  
  .chart-value {
    position: absolute;
    top: -25px;
    font-size: 0.75rem;
    font-weight: 600;
  }
  
  /* Amortization Section */
  .amortization-section {
    margin-top: 2rem;
  }
  
  .amortization-container {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
  }
  
  .amortization-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .amortization-table th,
  .amortization-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
  }
  
  .amortization-table th {
    font-weight: 600;
    color: var(--text-dark);
    background-color: var(--bg-page);
    position: sticky;
    top: 0;
  }
  
  .amortization-table tr:hover {
    background-color: var(--bg-page);
  }
  
  .no-data {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 2rem;
  }
  
  /* History Section */
  .history-section {
    margin-top: 2rem;
  }
  
  .history-container {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
  }
  
  .history-item {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .history-item:last-child {
    border-bottom: none;
  }
  
  .history-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .history-loan {
    font-weight: 600;
    color: var(--text-dark);
  }
  
  .history-payment {
    font-size: 0.875rem;
    color: var(--text-light);
  }
  
  .no-history {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 2rem;
  }
  
  /* Quick Calc Section */
  .quick-calc-section {
    margin-top: 2rem;
  }
  
  /* Privacy Notice */
  .privacy-notice {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    background-color: var(--success-bg);
    border-left: 4px solid var(--success-text);
  }
  
  .privacy-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
  }
  
  .privacy-text {
    font-size: 0.875rem;
    color: var(--text-medium);
  }
  
  /* Enhanced Message Box Styles */
  .message-box {
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid;
    animation: slideIn 0.3s ease-out;
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .message-box i {
    font-size: 1.5rem;
    margin-top: 0.125rem;
  }
  
  .message-content {
    flex: 1;
  }
  
  .message-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
  }
  
  .error-box {
    background-color: var(--error-bg);
    color: var(--error-text);
    border-color: var(--error-border);
  }
  
  .success-box {
    background-color: var(--success-bg);
    color: var(--success-text);
    border-color: var(--success-border);
  }
  
  /* Animations */
  .animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Content Sections */
  .content-section {
    padding: 3rem 1rem;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .section-subtitle {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }
  
  /* FAQ Section */
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  @media (min-width: 768px) {
    .faq-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .faq-item {
    background: var(--bg-card);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
  }
  
  .faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  
  .faq-item h3 {
    color: var(--primary-accent);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
  }
  
  .faq-item p {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 0.95rem;
  }
  
  /* Footer */
  .footer {
    background-color: var(--bg-card);
    padding: 2rem 1rem;
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
  }
  
  .footer-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
  }
  
  .footer-links a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .footer-links a:hover {
    color: var(--primary-accent);
  }
  
  .disclaimer {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 767px) {
    .loan-inputs {
      grid-template-columns: 1fr;
    }
    
    .result-cards {
      grid-template-columns: 1fr;
    }
    
    .quick-calc-buttons {
      grid-template-columns: 1fr;
    }
    
    .breakdown-chart {
      flex-direction: column;
      height: auto;
    }
    
    .chart-bar {
      height: 40px;
    }
  }
  
  @media (max-width: 480px) {
    .history-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
    
    .footer-links {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .amortization-table {
      font-size: 0.875rem;
    }
    
    .amortization-table th,
    .amortization-table td {
      padding: 0.5rem;
    }
    
    .quick-calc-button {
      min-height: 60px;
      padding: 0.75rem;
    }
  }
  /* Enhanced Car Loan Calculator Styles */

/* Overview Section */
.overview-section {
    margin-top: 2rem;
  }
  
  .section-intro {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Wide centered layout for content sections */
  .wide-centered-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
  }
  
  .wide-centered-section .container {
    width: 100%;
  }
  
  /* 3-column grid layout */
  .three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
    width: 100%;
  }
  
  @media (max-width: 1200px) {
    .three-column-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }
  }
  
  @media (max-width: 768px) {
    .three-column-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .wide-centered-section {
      padding: 0 1rem;
    }
  }
  
  .three-column-card {
    background: var(--bg-page);
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  
  .three-column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  .three-column-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-accent);
    font-size: 1.75rem;
    flex-shrink: 0;
  }
  
  .three-column-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
  }
  
  .three-column-card p {
    color: var(--text-medium);
    line-height: 1.6;
    flex-grow: 1;
  }
  
  /* Use Case Styles */
  .usecase-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .usecase-header i {
    width: 60px;
    height: 60px;
    background: var(--primary-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  
  .usecase-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.3rem;
  }
  
  .problem-solution {
    margin-bottom: 1rem;
  }
  
  .problem, .solution {
    margin-bottom: 1rem;
  }
  
  .problem h4, .solution h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
  }
  
  .problem p, .solution p {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 0.95rem;
  }
  
  .pro-tip {
    background: var(--primary-accent-light);
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid var(--primary-accent);
    margin-top: 1rem;
  }
  
  .pro-tip h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-accent);
    font-size: 0.9rem;
  }
  
  .pro-tip p {
    color: var(--text-medium);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
  }
  
  /* Step by step grid for how-to section */
  .step-by-step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
  }
  
  @media (max-width: 1200px) {
    .step-by-step-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .step-by-step-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .step-card {
    background: var(--bg-page);
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }
  
  .step-card p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .quick-tip {
    background: var(--warning-bg);
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid var(--warning-text);
    margin-top: 1rem;
  }
  
  .quick-tip h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--warning-text);
    font-size: 0.9rem;
  }
  
  .quick-tip p {
    color: var(--warning-text);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
  }
  
  /* Tip card header styling */
  .tip-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .tip-number {
    width: 50px;
    height: 50px;
    background: var(--primary-accent-light);
    color: var(--primary-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  
  .tip-card-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.3rem;
  }
  
  /* FAQ section styling */
  .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
  }
  
  @media (max-width: 1200px) {
    .faq-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .faq-card {
    background: var(--bg-page);
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
  }
  
  .faq-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }
  
  .faq-card p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .faq-card p:last-child {
    margin-bottom: 0;
  }
  
  /* Story card styling */
  .story-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .story-avatar {
    width: 70px;
    height: 70px;
    background: var(--primary-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
    font-size: 1.75rem;
    flex-shrink: 0;
  }
  
  .story-info h3 {
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
    font-size: 1.3rem;
  }
  
  .story-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
  }
  
  .story-content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .story-results {
    background: var(--success-bg);
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid var(--success-text);
    margin-top: 1rem;
  }
  
  .story-results h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--success-text);
    font-size: 0.9rem;
  }
  
  .story-results p {
    color: var(--success-text);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
  }
  
  /* Technical section styles */
  .algorithm-explanation {
    background: var(--bg-page);
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
  }
  
  .algorithm-explanation h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }
  
  .algorithm-explanation p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .technical-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  @media (max-width: 768px) {
    .technical-features {
      grid-template-columns: 1fr;
    }
  }
  
  .tech-feature {
    background: var(--bg-page);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
  }
  
  .tech-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }
  
  .tech-feature p {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 0.95rem;
  }
  
  /* Section spacing */
  .overview-section,
  .usecases-section,
  .howto-section,
  .tips-section,
  .faq-section,
  .advantages-section,
  .stories-section,
  .technical-section {
    margin-top: 4rem;
    width: 100%;
  }
  
  /* Content section base styles */
  .content-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }