
  html {
    scroll-behavior: smooth;
  }

  /* ===== CSS VARIABLES ===== */
  :root {
    --ink: #0d1117;
    --leaf: #18a558;
    --leaf5: #eafaf1;
    --leaf3: #58d68d;
    --border: #e1e4e8;
    --muted: #656d76;
    --r-xl: 24px;
    --r-lg: 16px;
  }

  /* ===== LAYOUT & GUTTERS ===== */
  .home-page main>section.hero-modern,
  .home-page main>section.capabilities,
  .home-page main>section.dashboard,
  .home-page main>section.subscribe-center {
    padding-left: clamp(0.75rem, 5vw, 15%);
    padding-right: clamp(0.75rem, 5vw, 15%);
    box-sizing: border-box;
  }

  .home-page main>section.capabilities .container,
  .home-page main>section.dashboard .container,
  .home-page main>section.subscribe-center .container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .home-page .hero-container {
    max-width: none;
    width: 100%;
  }

  /* ===== TOAST NOTIFICATIONS ===== */
  .home-toast-stack {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 380px;
  pointer-events: none;
}

  .home-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 12px 40px rgba(19, 47, 34, 0.15);
    border: 1px solid rgba(46, 125, 50, 0.2);
    animation: toastSlideIn 0.45s ease;
  }

  .home-toast i {
    margin-top: 0.1rem;
  }

  .home-toast--success {
    background: linear-gradient(135deg, #e8f5e9, #ffffff);
    color: #1b4332;
  }

  .home-toast--info {
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
    color: #0d47a1;
    border-color: rgba(13, 71, 161, 0.2);
  }

  .home-toast--error {
    background: linear-gradient(135deg, #ffebee, #ffffff);
    color: #b71c1c;
    border-color: rgba(183, 28, 28, 0.25);
  }

  .home-toast-close {
    margin-left: auto;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.55;
    padding: 0 0.15rem;
  }

  .home-toast-close:hover {
    opacity: 1;
  }

  @keyframes toastSlideIn {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ===== HERO SECTION ===== */
  .hero-modern {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(ellipse 80% 60% at 20% 20%, rgba(46, 125, 50, 0.12), transparent 55%),
      radial-gradient(ellipse 70% 50% at 90% 80%, rgba(102, 187, 106, 0.1), transparent 50%),
      linear-gradient(135deg, #f4f9f6 0%, #ffffff 50%, #f8faf9 100%);
    background-size: 100% 100%, 100% 100%, 200% 200%;
    animation: heroMesh 14s ease-in-out infinite alternate;
    padding: 4rem 100px;
    border-bottom: 1px solid #e8ecef;
  }

  .hero-modern::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.45) 50%, transparent 60%);
    background-size: 200% 100%;
    animation: heroShimmer 6s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes heroMesh {
    0% {
      background-position: 0% 0%, 100% 100%, 0% 50%;
    }

    100% {
      background-position: 10% 10%, 90% 90%, 100% 50%;
    }
  }

  @keyframes heroShimmer {
    0% {
      background-position: 200% 0;
    }

    100% {
      background-position: -200% 0;
    }
  }

  .hero-modern .hero-container,
  .hero-modern .hero-grid {
    position: relative;
    z-index: 1;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 1.5rem;
    align-items: center;
  }

  .hero-left>* {
    animation: heroFadeUp 0.85s ease backwards;
  }

  .hero-left>*:nth-child(1) {
    animation-delay: 0.05s;
  }

  .hero-left>*:nth-child(2) {
    animation-delay: 0.15s;
  }

  .hero-left>*:nth-child(3) {
    animation-delay: 0.28s;
  }

  .hero-left>*:nth-child(4) {
    animation-delay: 0.40s;
  }

  .hero-left>*:nth-child(5) {
    animation-delay: 0.52s;
  }

  @keyframes heroFadeUp {
    from {
      opacity: 0;
      transform: translateY(22px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-left h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
  }

  .gradient-text {
    background: linear-gradient(90deg, #1b5e20, #2e7d32, #66bb6a, #2e7d32);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
  }

  @keyframes gradientShift {

    0%,
    100% {
      background-position: 0% center;
    }

    50% {
      background-position: 100% center;
    }
  }

  .hero-left p {
    margin: 1.5rem 0;
    color: #6c757d;
    max-width: 500px;
  }

  .badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.35);
    animation: badgePulse 2.8s ease-in-out infinite;
  }

  @keyframes badgePulse {

    0%,
    100% {
      box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.25);
    }

    50% {
      box-shadow: 0 0 0 10px rgba(46, 125, 50, 0);
    }
  }

  .hero-buttons {
    display: flex;
    gap: 1rem;
  }

  .btn-primary {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
  }

  .btn-secondary {
    border: 1px solid #2e7d32;
    color: #2e7d32;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
  }

  .hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heroFadeUp 1s ease 0.2s backwards;
    position: relative;
  }

  .hero-image {
    width: 100%;
    height: 420px;
    max-width: 600px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 24px 60px rgba(19, 47, 34, 0.18), 0 0 0 1px rgba(46, 125, 50, 0.08);
    animation: heroFloat 7s ease-in-out infinite;
  }

  @keyframes heroFloat {

    0%,
    100% {
      transform: translateY(0) scale(1);
    }

    50% {
      transform: translateY(-10px) scale(1.01);
    }
  }

  /* ===== NOTIFICATION POPUP ===== */
  /* ===== NOTIFICATION POPUP ===== */
  .notification-popup {
    display: none;
    position: fixed;
    top: 100px;
    /* below navbar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    width: 90%;
    /* responsive width */
    max-width: 500px;
  }

  .notification-box {
    background: white;
    border-radius: 16px;
    padding: 20px 16px 16px;
    width: 100%;
    
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border-left: 4px solid #2e7d32;
    position: relative;
    animation: notifSlideIn 0.4s ease;

  }

  .notification-box ul {
    padding-left: 18px;
    /* bring bullets inside */
    margin: 10px 0;
    list-style-position: inside;
    /* 🔥 key fix */
  }

  .notification-box li {
    margin-bottom: 6px;
  }

  .notification-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    padding-right: 24px;
    color: #1a1a1a;
    line-height: 1.4;
  }

  .notification-box p {
    font-size: 0.82rem;
    color: #555;
    margin: 0 0 6px 0;
    line-height: 1.5;
  }

  .notification-box .notif-time {
    font-size: 0.7rem;
    color: #999;
    display: block;
    margin-bottom: 10px;
  }

  .notification-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .notification-close:hover {
    background: #ffdddd;
    color: #c00;
  }

  @keyframes notifSlideIn {
    from {
      transform: translateX(60px);
      opacity: 0;
    }

    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  /* ===== INNER SECTIONS (Problem / Features / How / Who) ===== */
  .inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 88px 5%;
  }

  .tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--leaf);
    font-weight: 700;
    padding: 4px 12px;
    border: 1px solid #a9dfbf;
    border-radius: 100px;
    background: var(--leaf5);
    margin-bottom: 14px;
  }

  h2 {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 12px;
  }

  h2 .a {
    color: var(--leaf);
  }

  .sub {
    font-size: 0.97rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 520px;
  }

  /* Problem */
  #problem {
    background: #fff;
  }

  .prob-header {
    text-align: center;
    margin-bottom: 52px;
  }

  .prob-header .sub {
    margin: 0 auto;
  }

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

  .p-card {
    padding: 32px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }

  .p-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--r-xl);
    border: 2px solid var(--leaf);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .p-card:hover::after {
    opacity: 1;
  }

  .p-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  .p-num {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--leaf);
    margin-bottom: 14px;
  }

  .p-card h3 {
    font-weight: 800;
    font-size: 1.02rem;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .p-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* Features / Value */
  #value {
    background: var(--slate);
  }

  .val-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .f-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all 0.25s;
  }

  .f-item:hover {
    border-color: #a9dfbf;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }

  .f-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
  }

  .f-icon.g {
    background: var(--leaf5);
  }

  .f-item h4 {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ink);
    margin-bottom: 2px;
  }

  .f-item p {
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.5;
  }

  /* How It Works */
  #how {
    background: #fff;
  }

  .how-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .how-header .sub {
    margin: 0 auto;
  }

  .steps-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 860px;
    margin: 0 auto;
  }

  .step {
    flex: 1;
    text-align: center;
    padding: 0 12px;
    position: relative;
  }

  .step-line {
    position: absolute;
    top: 24px;
    left: calc(50% + 32px);
    right: calc(-50% + 32px);
    height: 1px;
    background: linear-gradient(90deg, var(--leaf), var(--leaf3));
    pointer-events: none;
  }

  .step:last-child .step-line {
    display: none;
  }

  .step-n {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    margin: 0 auto 18px;
    position: relative;
    z-index: 1;
  }

  .step h3 {
    font-weight: 800;
    font-size: 0.97rem;
    color: var(--ink);
    margin-bottom: 8px;
  }

  .step p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
  }

  /* Who */
  #who {
    background: #fff;
  }

  .who-header {
    text-align: center;
    margin-bottom: 48px;
  }

  .who-header .sub {
    margin: 0 auto;
  }

  .who-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .w-card {
    text-align: center;
    padding: 28px 12px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    cursor: default;
    transition: all 0.3s;
  }

  .w-card:hover {
    border-color: var(--leaf);
    background: var(--leaf5);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }

  .w-em {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
  }

  .w-card h4 {
    font-weight: 700;
    font-size: 0.87rem;
    color: var(--ink);
  }

  /* ===== STOCK SEARCH SECTION ===== */
  .stock-search-section {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f9fef9 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(46, 125, 50, 0.12);
  }

  .stock-search-section .container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
  }

  .search-card {
    background: white;
    border-radius: 32px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(46, 125, 50, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .search-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(46, 125, 50, 0.15);
  }

  .search-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.35rem 1rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
  }

  .search-card h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1a2e1a;
    margin-bottom: 0.75rem;
  }

  .search-card p {
    color: #5a6e5a;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 1.8rem auto;
    line-height: 1.5;
  }

  .search-form-center {
    max-width: 700px;
    margin: 0 auto 1.2rem;
  }

  .search-input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e0e8e0;
    border-radius: 60px;
    padding: 0.25rem 0.25rem 0.25rem 1rem;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  }

  .search-input-group:focus-within {
    border-color: #2e7d32;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.15);
  }

  .search-icon {
    color: #7c9a7c;
    font-size: 1rem;
    margin-right: 0.5rem;
  }

  .search-input-group input {
    flex: 1;
    border: none;
    padding: 0.85rem 0;
    font-size: 1rem;
    background: transparent;
    outline: none;
    color: #1f2e1f;
    font-weight: 500;
  }

  .search-input-group input::placeholder {
    color: #b9cfb9;
    font-weight: 400;
  }

  .search-btn {
    background: linear-gradient(105deg, #2e7d32, #1b5e20);
    border: none;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }

  .search-btn:hover {
    background: linear-gradient(105deg, #1b5e20, #0f4a13);
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
  }

  /* Suggestions dropdown */
  .suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    margin-top: 8px;
    z-index: 1000;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    display: none;
    border: 1px solid #e0e8e0;
  }

  .suggestion-item {
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf2ed;
    transition: background 0.1s;
  }

  .suggestion-item:hover {
    background: #f0f9f0;
  }

  .suggestion-symbol {
    font-weight: 700;
    color: #2e7d32;
  }

  .suggestion-name {
    font-size: 0.8rem;
    color: #5a6e5a;
    margin-left: 8px;
  }

  .suggestion-exchange {
    font-size: 0.7rem;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 20px;
    color: #2e7d32;
  }

  .search-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .suggestion-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c7e6c;
  }

  .suggestion-chip {
    background: #f2f7f2;
    border: 1px solid #dee6de;
    border-radius: 40px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #2e7d32;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
  }

  .suggestion-chip:hover {
    background: #e8f5e9;
    border-color: #2e7d32;
    transform: translateY(-1px);
  }

  .search-note {
    font-size: 0.7rem;
    color: #8aa08a;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
  }

  /* ===== PATTERN CTA SECTION ===== */
  .pattern-redirect-section {
    padding: 3rem 0;
  }

  .pattern-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, #f4fbf6, #ffffff);
    border: 1px solid #e0e8e0;
    border-radius: 20px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .pattern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.15);
    border-color: #a5d6a7;
  }

  .pattern-content {
    max-width: 60%;
  }

  .pattern-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .pattern-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
  }

  .pattern-content p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }

  .pattern-btn {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
  }

  .pattern-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(46, 125, 50, 0.3);
  }

  .pattern-visual {
    text-align: center;
  }

  .pattern-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .pattern-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .pattern-tags span {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
  }

  /* ===== DASHBOARD / NEWS ===== */
  .dashboard {
    padding: 3rem 0;
  }

  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 2rem 0 1.5rem;
  }

  .header-left {
    display: flex;
    flex-direction: column;
  }

  .section-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
  }

  .last-updated {
    font-size: 0.7rem;
    color: #6c757d;
    margin-top: 4px;
  }

  .view-all {
    color: #2e7d32;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
  }

  .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .news-card {
    overflow: hidden;
    padding: 0;
    border-radius: 18px;
    border: 1px solid rgba(46, 125, 50, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  }

  .news-media {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e9, #ffffff);
  }

  .news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.45s ease;
  }

  .news-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.18) 100%);
    pointer-events: none;
    opacity: 0.85;
  }

  .news-image-placeholder {
    width: 100%;
    max-height: 160px;
    height: 100%;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #2e7d32;
  }

  .news-content {
    padding: 0.95rem 1rem 1.05rem;
  }

  .news-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: #6c757d;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .news-source {
    font-weight: 700;
    color: #2e7d32;
  }

  .news-dot {
    opacity: 0.7;
  }

  .news-content h4 {
    font-size: 1.02rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
  }

  .news-content p {
    font-size: 0.82rem;
    color: #6c757d;
    line-height: 1.55;
  }

  .read-more {
    color: #2e7d32;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .news-card:hover .news-image {
    transform: scale(1.05);
  }

  .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(19, 47, 34, 0.12);
  }

  .view-all-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #e8f5e9, #ffffff);
    border: 1px dashed #2e7d32;
  }

  .view-all-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.15);
  }

  /* ===== SECTOR MODAL ===== */
  .sector-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
  }

  .sector-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
  }

  .sector-modal-container {
    margin-top: 100px;
    position: relative;
    background: white;
    border-radius: 24px;
    width: 95%;
    max-width: 1400px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn 0.3s ease;
  }

  @keyframes modalFadeIn {
    from {
      opacity: 0;
      transform: scale(0.95);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .sector-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #2e7d32;
  }

  .sector-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
  }

  .sector-modal-subtitle {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0.25rem 0 0 0;
  }

  .sector-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  .sector-modal-close:hover {
    background: #fee;
    color: #dc3545;
    transform: rotate(90deg);
  }

  .sector-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(85vh - 80px);
  }

  .stocks-table-wrapper {
    overflow-x: auto;
  }

  .stocks-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
  }

  .stocks-data-table thead tr {
    background: #f8f9fa;
    position: sticky;
    top: 0;
  }

  .stocks-data-table th {
    padding: 1rem 0.8rem;
    text-align: left;
    font-weight: 600;
    color: #1a1a1a;
    border-bottom: 2px solid #e8ecef;
    white-space: nowrap;
  }

  .stocks-data-table td {
    padding: 0.85rem 0.8rem;
    border-bottom: 1px solid #e8ecef;
    vertical-align: middle;
  }

  .stocks-data-table tbody tr:hover {
    background: #f8f9fa;
  }

  .stock-positive {
    color: #2e7d32;
    font-weight: 600;
  }

  .stock-negative {
    color: #dc3545;
    font-weight: 600;
  }

  .industry-tag {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
  }

  .loading-state {
    text-align: center;
    padding: 3rem;
  }

  .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e8ecef;
    border-top-color: #2e7d32;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
  }

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

  .volume-cell {
    font-family: "Courier New", monospace;
    font-size: 0.8rem;
  }

  .error-message,
  .no-data-message {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
  }

  .error-message i,
  .no-data-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
  }

  /* ===== SUBSCRIBE SECTION ===== */
  .subscribe-center {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    display: flex;
    justify-content: center;
  }

  .subscribe-card {
    max-width: 700px;
    width: 100%;
    background: linear-gradient(135deg, #e8f5e9, #ffffff);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  }

  .subscribe-badge {
    display: inline-block;
    background: #fdecef;
    color: #d81b60;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .subscribe-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a1a;
  }

  .subscribe-card p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .subscribe-form-center {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
  }

  .subscribe-form-center input {
    width: 100%;
    max-width: 450px;
    padding: 0.75rem;
    border-radius: 30px;
    border: 1px solid #e8ecef;
    outline: none;
    font-size: 0.85rem;
  }

  .subscribe-form-center input:focus {
    border-color: #2e7d32;
  }

  .subscribe-form-center button {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
    max-width: 450px;
    height: 40px;
  }

  .subscribe-form-center button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(46, 125, 50, 0.3);
  }

  .form-note {
    font-size: 0.75rem;
    color: #6c757d;
  }

  /* ===== SCROLL REVEAL ===== */
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }

  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .cap-grid .reveal-on-scroll:nth-child(1) {
    transition-delay: 0.05s;
  }

  .cap-grid .reveal-on-scroll:nth-child(2) {
    transition-delay: 0.12s;
  }

  .cap-grid .reveal-on-scroll:nth-child(3) {
    transition-delay: 0.19s;
  }

  .cap-grid .reveal-on-scroll:nth-child(4) {
    transition-delay: 0.26s;
  }
  
  /* ===== REDUCED MOTION ===== */
  @media (prefers-reduced-motion: reduce) {
    .hero-modern {
      animation: none;
      background: linear-gradient(135deg, #f8f9fa, #ffffff);
    }

    .hero-modern::after {
      display: none;
    }

    .gradient-text {
      animation: none;
      background: linear-gradient(90deg, #2e7d32, #66bb6a);
    }

    .hero-image {
      animation: none;
    }

    .hero-left>* {
      animation: none;
      opacity: 1;
      transform: none;
    }

    .reveal-on-scroll {
      opacity: 1;
      transform: none;
      transition: none;
    }

    .badge {
      animation: none;
      box-shadow: none;
    }
  }

  @media (max-width: 768px) {
    .hero-modern {
      padding: 4rem 1rem; /* or 2rem if you want */
    }
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 920px) {
    .val-layout {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .prob-grid {
      grid-template-columns: 1fr;
    }

    .who-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .steps-row {
      flex-direction: column;
      align-items: center;
    }

    .step-line {
      display: none;
    }
  }

  @media (max-width: 768px) {
    .hero-grid {
      grid-template-columns: 1fr;
    }

    .hero-left h1 {
      font-size: 2rem;
    }

    .pattern-card {
      flex-direction: column;
      text-align: center;
    }

    .pattern-content {
      max-width: 100%;
    }

    .subscribe-form-center {
      flex-direction: column;
    }

    .subscribe-form-center input,
    .subscribe-form-center button {
      width: 100%;
    }

    .sector-modal-container {
      width: 98%;
    }

    .sector-modal-header {
      padding: 1rem;
    }

    .sector-modal-header h3 {
      all: unset;
      font-size: 1.3rem;
      font-weight: 700;
      color: #1a1a1a;
      display: block;
    }

    .stocks-data-table {
      font-size: 0.7rem;
    }

    .stocks-data-table th,
    .stocks-data-table td {
      padding: 0.5rem;
    }

    .industry-tag {
      font-size: 0.6rem;
    }

    .home-page main>section.capabilities .container,
    .home-page main>section.dashboard .container,
    .home-page main>section.subscribe-center .container {
      padding-left: 0;
      padding-right: 0;
    }
  }

  @media (max-width: 640px) {
    .search-card {
      padding: 1.8rem 1.2rem;
    }

    .search-card h2 {
      font-size: 1.5rem;
    }

    .search-input-group {
      flex-wrap: wrap;
      background: transparent;
      border: none;
      box-shadow: none;
      gap: 0.6rem;
      padding: 0;
    }

    .search-input-group input {
      width: 100%;
      background: white;
      border: 1px solid #e0e8e0;
      border-radius: 60px;
      padding: 0.75rem 1rem;
    }

    .search-icon {
      display: none;
    }

    .search-btn {
      width: 100%;
      justify-content: center;
      padding: 0.7rem;
    }

    .suggestion-chip {
      padding: 0.3rem 0.8rem;
      font-size: 0.7rem;
    }
  }