/* =====================================================================================
   INVESTMENT GROWTH CALCULATORS PAGE
===================================================================================== */

:root {
    --primary-blue: #0052cc;
    --primary-blue-dark: #003d99;
    --hero-gradient: linear-gradient(135deg, #0061ff 0%, #0033aa 100%);
    --bg-light: #f8fafc;
    --bg-soft: #eef4ff;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
  }
  
  /* =====================================================================================
     GLOBAL PAGE STYLES
  ===================================================================================== */
  
  body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--white);
  }
  
  .section-padding {
    padding: 72px 0;
  }
  
  .bg-light {
    background: var(--bg-light);
  }
  
  .bg-white {
    background: var(--white);
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
  }
  
  .text-left {
    text-align: left;
  }
  
  .section-header {
    margin-bottom: 32px;
  }
  
  .section-label {
    display: inline-block;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 10px;
  }
  
  .section-header h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 14px;
    color: var(--text-main);
  }
  
  .section-header p {
    margin: 0;
    color: var(--text-muted);
    max-width: 760px;
    line-height: 1.7;
  }
  
  /* =====================================================================================
     HERO
  ===================================================================================== */
  
  .investment-hero {
    background: var(--hero-gradient);
    color: var(--white);
    padding: 38px 0 70px;
  }
  
  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  
  .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
  }
  
  .breadcrumb a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
  }
  
  .breadcrumb a:hover {
    text-decoration: underline;
  }
  
  .hero-content {
    display: grid;
    gap: 28px;
    align-items: start;
  }
  
  .hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin: 0 0 18px;
    color: var(--white);
  }
  
  .hero-intro,
  .hero-support {
    color: rgba(255, 255, 255, 0.93);
    line-height: 1.75;
    max-width: 760px;
  }
  
  .hero-intro {
    font-size: 1.08rem;
    margin-bottom: 16px;
  }
  
  .hero-support {
    margin-bottom: 24px;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.97rem;
    text-decoration: none;
    transition: var(--transition);
  }
  
  .btn-primary,
  .btn-solid {
    background: var(--white);
    color: var(--primary-blue);
    border: 1px solid var(--white);
  }
  
  .btn-primary:hover,
  .btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  
  .btn-secondary,
  .btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.42);
  }
  
  .btn-secondary:hover,
  .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
  }
  
  /* =====================================================================================
     PAGE SHELL
  ===================================================================================== */
  
  .page-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
  }
  
  .main-content,
  .side-panel {
    min-width: 0;
  }
  
  /* =====================================================================================
     CALCULATOR GRID
  ===================================================================================== */
  
  .calculator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  
  .tool-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }
  
  .tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  
  .tool-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(0, 82, 204, 0.08);
    color: var(--primary-blue);
    font-size: 1.2rem;
  }
  
  .tool-card h3 {
    font-size: 1.18rem;
    margin: 0 0 10px;
    line-height: 1.35;
  }
  
  .tool-card p {
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0 0 18px;
  }
  
  .tool-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
  }
  
  .tool-link:hover {
    color: var(--primary-blue-dark);
  }
  
  /* =====================================================================================
     SIDEBAR
  ===================================================================================== */
  
  .side-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .side-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
  }
  
  .side-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 82, 204, 0.08);
    color: var(--primary-blue);
    margin-bottom: 14px;
    font-size: 1.1rem;
  }
  
  .side-card h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
  }
  
  .side-card p {
    margin: 0 0 14px;
    color: var(--text-muted);
    line-height: 1.7;
  }
  
  .side-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .side-links li + li {
    margin-top: 12px;
  }
  
  .side-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.5;
  }
  
  .side-links a:hover {
    text-decoration: underline;
  }
  
  .tip-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .tip-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .tip-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  
  .tip-row span {
    color: var(--text-muted);
    font-size: 0.95rem;
  }
  
  .tip-row strong {
    color: var(--text-main);
    font-size: 0.95rem;
  }
  
  /* =====================================================================================
     CONTENT PANELS
  ===================================================================================== */
  
  .feature-panel {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
  }
  
  .content-flow p {
    margin: 0 0 18px;
    line-height: 1.85;
    color: var(--text-main);
  }
  
  .content-flow p:last-child {
    margin-bottom: 0;
  }
  
  .content-flow a,
  .benefit-card a,
  .mistake-card a,
  .audience-intro a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
  }
  
  .content-flow a:hover,
  .benefit-card a:hover,
  .mistake-card a:hover,
  .audience-intro a:hover {
    text-decoration: underline;
  }
  
  /* =====================================================================================
     FORMULA SECTION
  ===================================================================================== */
  
  .formula-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
  }
  
  .formula-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
  }
  
  .formula-card h3 {
    margin: 0 0 14px;
    font-size: 1.1rem;
  }
  
  .formula-box {
    background: var(--bg-soft);
    border: 1px solid #dbe8ff;
    border-radius: 12px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    margin-bottom: 14px;
    text-align: center;
    overflow-wrap: anywhere;
  }
  
  .formula-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
  }
  
  /* =====================================================================================
     METHOD GRID
  ===================================================================================== */
  
  .method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  
  .info-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }
  
  .info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  
  .info-card h3 {
    margin: 0 0 12px;
    font-size: 1.12rem;
  }
  
  .info-card p {
    margin: 0 0 14px;
    color: var(--text-muted);
    line-height: 1.75;
  }
  
  .info-card p:last-child {
    margin-bottom: 0;
  }
  
  .info-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
  }
  
  .info-card a:hover {
    text-decoration: underline;
  }
  
  /* =====================================================================================
     STEP CARDS
  ===================================================================================== */
  
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  
  .step-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
  }
  
  .step-number {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 82, 204, 0.1);
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 14px;
  }
  
  .step-card h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
  }
  
  .step-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
  }
  
  /* =====================================================================================
     BENEFITS / MISTAKES / AUDIENCE
  ===================================================================================== */
  
  .benefits-grid,
  .mistakes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  
  .benefit-card,
  .mistake-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
  }
  
  .benefit-card i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 14px;
  }
  
  .benefit-card h3,
  .mistake-card h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
  }
  
  .benefit-card p,
  .mistake-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
  }
  
  .audience-intro {
    margin: 0 0 24px;
    color: var(--text-muted);
    line-height: 1.8;
  }
  
  .audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  
  .audience-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
  }
  
  .audience-item i {
    color: var(--primary-blue);
    margin-top: 3px;
  }
  
  .audience-item span {
    line-height: 1.65;
    color: var(--text-main);
  }
  
  /* =====================================================================================
     RELATED TOOLS
  ===================================================================================== */
  
  .related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  
  .related-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 22px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }
  
  .related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  
  .related-card h3 {
    margin: 0 0 10px;
    color: var(--text-main);
    font-size: 1.08rem;
  }
  
  .related-card p {
    margin: 0 0 14px;
    color: var(--text-muted);
    line-height: 1.75;
  }
  
  .related-card span {
    color: var(--primary-blue);
    font-weight: 700;
  }
  
  /* =====================================================================================
     FAQ
  ===================================================================================== */
  
  
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  
  .faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  
  .faq-item details {
    width: 100%;
  }
  
  .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 700;
    color: var(--text-main);
    position: relative;
    line-height: 1.5;
  }
  
  .faq-item summary::-webkit-details-marker {
    display: none;
  }
  
  .faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 1.15rem;
    font-weight: 800;
  }
  
  .faq-item details[open] summary::after {
    content: "−";
  }
  
  .faq-item p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--text-muted);
    line-height: 1.8;
  }
  
  /* =====================================================================================
     DISCLAIMER / CTA
  ===================================================================================== */
  
  .disclaimer-card,
  .cta-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
  }
  
  .disclaimer-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
  }
  
  .disclaimer-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 82, 204, 0.08);
    color: var(--primary-blue);
    font-size: 1.2rem;
  }
  
  .disclaimer-content h2,
  .cta-card h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
  }
  
  .disclaimer-content p,
  .cta-card p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-muted);
  }
  
  .cta-card {
    text-align: center;
  }
  
  .cta-card p {
    max-width: 760px;
    margin: 0 auto;
  }
  
  .cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 22px;
  }
  
  .cta-card .btn-solid {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
  }
  
  .cta-card .btn-solid:hover {
    background: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
  }
  
  .cta-card .btn-outline {
    color: var(--primary-blue);
    border-color: var(--border-color);
    background: var(--white);
  }
  
  .cta-card .btn-outline:hover {
    background: var(--bg-light);
  }
  
  /* =====================================================================================
     RESPONSIVE
  ===================================================================================== */
  
  @media (max-width: 1100px) {
    .page-shell {
      grid-template-columns: 1fr;
    }
  
    .side-panel {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .method-grid,
    .benefits-grid,
    .mistakes-grid,
    .related-grid,
    .formula-grid,
    .steps-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 900px) {
    .hero-content,
    .calculator-grid,
    .method-grid,
    .benefits-grid,
    .mistakes-grid,
    .related-grid,
    .formula-grid,
    .steps-grid,
    .audience-grid,
    .side-panel {
      grid-template-columns: 1fr;
    }
  
    .hero-text h1 {
      font-size: 2.3rem;
    }
  
    .section-header h2 {
      font-size: 1.7rem;
    }
  
    .section-padding {
      padding: 58px 0;
    }
  }
  
  @media (max-width: 640px) {
    .investment-hero {
      padding: 28px 0 54px;
    }
  
    .hero-text h1 {
      font-size: 2rem;
    }
  
    .hero-intro {
      font-size: 1rem;
    }
  
    .hero-actions,
    .cta-actions {
      flex-direction: column;
      align-items: stretch;
    }
  
    .btn {
      width: 100%;
    }
  
    .tool-card,
    .info-card,
    .step-card,
    .benefit-card,
    .mistake-card,
    .related-card,
    .formula-card,
    .side-card,
    .feature-panel,
    .cta-card,
    .disclaimer-card {
      padding: 20px;
    }
  
    .disclaimer-card {
      flex-direction: column;
    }
  
    .faq-item summary {
      padding-right: 52px;
    }
  }