/* ===========================
   FEATURES PAGE
=========================== */

/* HERO */
.feat-hero { background: var(--navy); padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px); }
.feat-hero .section-label { margin-bottom: 20px; }
.feat-hero-headline { color: var(--white); font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 900; line-height: 1.05; margin-bottom: 20px; }
.feat-hero-headline .highlight { color: var(--orange); }
.feat-hero-sub { color: rgba(255,255,255,0.65); font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 680px; line-height: 1.75; margin-bottom: 40px; }
.feat-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.feat-nav-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.feat-nav-pill { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.12); padding: 8px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; text-decoration: none; transition: var(--transition); }
.feat-nav-pill:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* HIGHLIGHT SECTIONS */
.feat-highlight { padding: clamp(80px, 10vw, 140px) 0; }
.feat-white { background: var(--white); }
.feat-grey { background: var(--grey-light); }
.feat-navy { background: var(--navy); }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 100px); align-items: center; }
.feat-reversed { direction: rtl; }
.feat-reversed > * { direction: ltr; }
.feat-step-num { font-size: clamp(5rem, 10vw, 9rem); font-weight: 900; color: rgba(247,147,26,0.1); line-height: 1; margin-bottom: 8px; letter-spacing: -4px; }
.feat-step-num-light { color: rgba(255,255,255,0.06); }
.feat-content .section-label { margin-bottom: 12px; }
.feat-headline { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 900; color: var(--black); margin-bottom: 20px; line-height: 1.2; }
.feat-headline-light { color: var(--white); }
.feat-body { color: var(--grey-text); font-size: clamp(0.95rem, 1.1vw, 1.05rem); line-height: 1.85; margin-bottom: 28px; }
.feat-body-light { color: rgba(255,255,255,0.65); }
.feat-points { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.feat-points li { display: flex; align-items: flex-start; gap: 12px; font-size: clamp(0.875rem, 1vw, 0.95rem); color: var(--black); line-height: 1.5; }
.feat-points li i { color: var(--green); flex-shrink: 0; margin-top: 3px; font-size: 0.85rem; }
.feat-points-light li { color: rgba(255,255,255,0.85); }
.feat-points-light li i { color: var(--orange); }
.feat-link { color: var(--orange); text-decoration: none; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.feat-link:hover { gap: 12px; }
.feat-privacy-note { display: flex; align-items: center; gap: 10px; background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.2); border-radius: 10px; padding: 12px 16px; font-size: 0.85rem; color: #059669; font-weight: 600; }
.feat-privacy-note i { flex-shrink: 0; }
.feat-jurisdiction-count { display: flex; align-items: center; gap: 16px; background: rgba(247,147,26,0.08); border: 1px solid rgba(247,147,26,0.2); border-radius: 12px; padding: 16px 20px; margin-top: 8px; }
.feat-jur-number { font-size: 2.4rem; font-weight: 900; color: var(--orange); line-height: 1; }
.feat-jur-label { font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.feat-ai-powered { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px 20px; margin-top: 8px; }
.feat-ai-icon { width: 44px; height: 44px; background: var(--orange); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--white); flex-shrink: 0; }
.feat-ai-label { display: block; font-weight: 700; color: var(--white); font-size: 0.9rem; }
.feat-ai-sub { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* MOCKUPS */
.feat-visual { display: flex; justify-content: center; align-items: center; }
.feat-mockup { background: var(--white); border-radius: 16px; box-shadow: 0 24px 80px rgba(0,0,0,0.12); border: 1px solid var(--grey-mid); width: 100%; max-width: 460px; overflow: hidden; }
.feat-mockup-dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); box-shadow: 0 24px 80px rgba(0,0,0,0.4); }
.mockup-topbar { background: var(--navy); padding: 14px 18px; display: flex; align-items: center; gap: 10px; }
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 12px; height: 12px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }
.mockup-topbar-title { color: rgba(255,255,255,0.5); font-size: 0.8rem; margin-left: 6px; }
.mockup-content { padding: 20px; }

/* CSV IMPORT MOCKUP */
.feat-upload-area { background: var(--grey-light); border-radius: 10px; padding: 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; border: 1px solid var(--grey-mid); }
.feat-upload-icon { font-size: 1.4rem; color: var(--orange); flex-shrink: 0; }
.feat-upload-text { flex: 1; }
.feat-upload-title { display: block; font-size: 0.82rem; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.feat-upload-sub { display: block; font-size: 0.72rem; color: var(--grey-text); margin-bottom: 8px; }
.feat-upload-progress { height: 4px; background: var(--grey-mid); border-radius: 4px; overflow: hidden; }
.feat-upload-fill { height: 100%; background: var(--orange); border-radius: 4px; animation: uploadFill 2s ease 0.3s forwards; width: 0; }
@keyframes uploadFill { to { width: 100%; } }
.feat-format-select { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.15); border-radius: 8px; margin-bottom: 12px; font-size: 0.8rem; }
.feat-format-label { color: var(--grey-text); font-weight: 600; }
.feat-format-value { color: var(--black); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.feat-import-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.feat-import-row { display: grid; grid-template-columns: 1.2fr 0.7fr 0.9fr 0.8fr; gap: 8px; padding: 8px 10px; background: var(--grey-light); border-radius: 8px; font-size: 0.75rem; opacity: 0; transform: translateX(16px); animation: slideRowIn 0.4s ease forwards; }
@keyframes slideRowIn { to { opacity: 1; transform: translateX(0); } }
.feat-row-date { color: var(--grey-text); }
.feat-row-amount, .feat-row-value { color: var(--black); font-weight: 600; }
.feat-row-type { font-weight: 700; padding: 2px 8px; border-radius: 50px; font-size: 0.68rem; text-align: center; }
.feat-row-type.buy { background: rgba(16,185,129,0.1); color: var(--green); }
.feat-row-type.sell { background: rgba(239,68,68,0.1); color: var(--red); }
.feat-row-type.transfer { background: rgba(247,147,26,0.1); color: var(--orange); }
.feat-import-summary { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--green); font-weight: 600; padding: 8px 0; }

/* CONNECTIONS MOCKUP */
.feat-connection-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.feat-connection-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--grey-light); border-radius: 10px; opacity: 0; transform: translateY(10px); animation: slideConnIn 0.4s ease forwards; }
@keyframes slideConnIn { to { opacity: 1; transform: translateY(0); } }
.feat-conn-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.feat-conn-icon.orange { background: rgba(247,147,26,0.15); color: var(--orange); }
.feat-conn-icon.navy { background: rgba(18,40,60,0.1); color: var(--navy); }
.feat-conn-icon.green { background: rgba(16,185,129,0.1); color: var(--green); }
.feat-conn-icon.blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.feat-conn-name { display: block; font-size: 0.82rem; font-weight: 700; color: var(--black); }
.feat-conn-sub { display: block; font-size: 0.7rem; color: var(--grey-text); }
.conn-live { font-size: 0.72rem; font-weight: 700; color: var(--green); white-space: nowrap; }
.conn-watching { font-size: 0.72rem; font-weight: 700; color: #3b82f6; white-space: nowrap; }
.feat-reconcile-note { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: rgba(247,147,26,0.06); border: 1px solid rgba(247,147,26,0.15); border-radius: 8px; font-size: 0.78rem; color: var(--orange); font-weight: 600; margin-bottom: 8px; }
.feat-privacy-badge { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.15); border-radius: 8px; font-size: 0.75rem; color: #059669; font-weight: 600; }

/* TAX ENGINE MOCKUP */
.feat-tax-jurisdiction { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--grey-light); border-radius: 10px; margin-bottom: 14px; }
.feat-jur-flag { font-size: 1.8rem; flex-shrink: 0; }
.feat-jur-name { display: block; font-weight: 700; font-size: 0.875rem; color: var(--black); margin-bottom: 2px; }
.feat-jur-sub { display: block; font-size: 0.72rem; color: var(--grey-text); }
.feat-tax-breakdown { display: flex; flex-direction: column; gap: 0; margin-bottom: 14px; }
.feat-tax-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--grey-mid); font-size: 0.82rem; }
.feat-tax-row:last-child { border-bottom: none; }
.feat-tax-label { color: var(--grey-text); }
.feat-tax-val { font-weight: 700; color: var(--black); }
.feat-tax-val.gain { color: var(--green); }
.feat-tax-val.tax { color: var(--orange); font-size: 1rem; }
.feat-tax-divider { height: 2px; background: var(--grey-mid); margin: 4px 0; }
.feat-tax-total .feat-tax-label { color: var(--black); font-weight: 700; }
.feat-method-pills { display: flex; gap: 8px; }
.feat-method-pill { padding: 6px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; cursor: pointer; background: var(--grey-light); color: var(--grey-text); border: 1px solid var(--grey-mid); transition: var(--transition); }
.feat-method-pill.active { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* REPORTS MOCKUP */
.feat-report-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.feat-report-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--grey-light); border-radius: 10px; border: 1px solid var(--grey-mid); transition: var(--transition); }
.feat-report-item:hover { border-color: var(--orange); background: var(--white); }
.pulse-item { animation: pulseBorder 2s ease-in-out infinite; }
@keyframes pulseBorder { 0%,100% { border-color: var(--grey-mid); } 50% { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,147,26,0.1); } }
.feat-report-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.feat-report-icon.pdf { background: rgba(239,68,68,0.1); color: var(--red); }
.feat-report-icon.green { background: rgba(16,185,129,0.1); color: var(--green); }
.feat-report-icon.navy { background: rgba(18,40,60,0.08); color: var(--navy); }
.feat-report-icon.orange { background: rgba(247,147,26,0.1); color: var(--orange); }
.feat-report-name { display: block; font-size: 0.82rem; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.feat-report-sub { display: block; font-size: 0.7rem; color: var(--grey-text); }
.feat-report-btn { width: 28px; height: 28px; background: var(--orange); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.72rem; margin-left: auto; flex-shrink: 0; cursor: pointer; }
.feat-report-summary { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--grey-text); padding: 8px 0; }
.feat-report-summary i { color: var(--orange); }

/* AI CHAT MOCKUP */
.feat-ai-chat { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.feat-ai-msg { display: flex; align-items: flex-start; gap: 10px; }
.feat-ai-msg.user { justify-content: flex-end; }
.feat-ai-avatar { width: 28px; height: 28px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--white); flex-shrink: 0; margin-top: 2px; }
.feat-ai-bubble { border-radius: 12px; padding: 12px 14px; font-size: 0.8rem; line-height: 1.55; max-width: 85%; }
.system-bubble { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); border-radius: 4px 12px 12px 12px; }
.system-bubble p { margin: 0; color: rgba(255,255,255,0.85); font-size: 0.8rem; }
.system-bubble strong { color: var(--orange); }
.user-bubble { background: var(--orange); color: var(--white); border-radius: 12px 4px 12px 12px; }
.animated-msg { opacity: 0; transform: translateY(8px); animation: msgIn 0.4s ease forwards; }
@keyframes msgIn { to { opacity: 1; transform: translateY(0); } }
.feat-ai-input-bar { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 14px; }
.feat-ai-input-placeholder { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.feat-ai-send { color: var(--orange); font-size: 0.85rem; cursor: pointer; }

/* ALL FEATURES */
.feat-all { background: var(--white); padding: clamp(80px, 10vw, 120px) 0; }
.feat-all-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.feat-all-col-title { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--orange); }
.feat-all-col-title i { color: var(--orange); }
.feat-all-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feat-all-list li { display: flex; align-items: center; gap: 10px; font-size: clamp(0.82rem, 0.9vw, 0.875rem); color: var(--black); }
.feat-all-list li i { color: var(--green); font-size: 0.75rem; flex-shrink: 0; }

/* DASHBOARD COMPARISON */
.feat-dashboards { background: var(--grey-light); padding: clamp(80px, 10vw, 120px) 0; }
.feat-dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.feat-dash-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 36px); box-shadow: var(--shadow); transition: var(--transition); position: relative; }
.feat-dash-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-dash-featured { background: var(--navy); }
.feat-dash-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 4px 16px; border-radius: 50px; white-space: nowrap; }
.feat-dash-icon { width: clamp(44px, 3.5vw, 56px); height: clamp(44px, 3.5vw, 56px); background: var(--orange); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--white); margin-bottom: 16px; }
.feat-dash-card h3 { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--black); margin-bottom: 10px; }
.feat-dash-featured h3 { color: var(--white); }
.feat-dash-desc { font-size: clamp(0.82rem, 0.9vw, 0.875rem); color: var(--grey-text); line-height: 1.65; margin-bottom: 20px; }
.feat-dash-featured .feat-dash-desc { color: rgba(255,255,255,0.6); }
.feat-dash-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.feat-dash-list li { display: flex; align-items: center; gap: 10px; font-size: clamp(0.82rem, 0.88vw, 0.875rem); color: var(--black); }
.feat-dash-featured .feat-dash-list li { color: rgba(255,255,255,0.85); }
.feat-dash-list li i { color: var(--green); font-size: 0.78rem; flex-shrink: 0; }
.feat-dash-price { font-size: 0.875rem; color: var(--grey-text); margin-bottom: 20px; }
.feat-dash-featured .feat-dash-price { color: rgba(255,255,255,0.6); }
.feat-dash-price strong { color: var(--navy); font-size: 1.05rem; }
.feat-dash-featured .feat-dash-price strong { color: var(--orange); }
.feat-dash-btn { display: block; text-align: center; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: var(--transition); }
.cta-btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FEATURES RESPONSIVE */
@media (max-width: 1100px) {
    .feat-all-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .feat-grid { grid-template-columns: 1fr; gap: 48px; }
    .feat-reversed { direction: ltr; }
    .feat-dash-grid { grid-template-columns: 1fr; }
    .feat-step-num { font-size: clamp(4rem, 8vw, 6rem); }
}
@media (max-width: 768px) {
    .feat-nav-pills { gap: 8px; }
    .feat-all-grid { grid-template-columns: 1fr; }
    .feat-hero-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .feat-nav-pill { font-size: 0.75rem; padding: 6px 12px; }
}