/* =========================================================
   MONEYTOOL.IO — HOMEPAGE STYLES
   ========================================================= */

/* ---------- GLOBAL ---------- */
.homepage {
    --home-primary: #0f766e;
    --home-primary-hover: #0d5a54;
    --home-primary-light: #f0fdfa;
    --home-primary-soft: #ecfdf5;
    --home-dark: #0f172a;
    --home-text: #334155;
    --home-muted: #64748b;
    --home-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-border-soft: #f1f5f9;
    --home-bg: #ffffff;
    --home-bg-soft: #f8fafc;
    --home-link: #2563eb;
    --home-link-hover: #1d4ed8;
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --home-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    --home-shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--home-text);
    background: var(--home-bg);
    line-height: 1.6;
}

.homepage * {
    box-sizing: border-box;
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.homepage a {
    color: var(--home-link);
    text-decoration: none;
}

.homepage a:hover {
    color: var(--home-link-hover);
}

/* ---------- BUTTONS ---------- */
.home-btn-primary,
.home-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.4;
}

.home-btn-primary {
    background: var(--home-primary);
    color: #ffffff !important;
    border-color: var(--home-primary);
}

.home-btn-primary:hover {
    background: var(--home-primary-hover);
    border-color: var(--home-primary-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
}

.home-btn-secondary {
    background: transparent;
    color: var(--home-primary) !important;
    border-color: var(--home-primary);
}

.home-btn-secondary:hover {
    background: var(--home-primary-light);
    color: var(--home-primary-hover) !important;
    transform: translateY(-2px);
}

/* ---------- SECTION SYSTEM ---------- */
.home-section {
    padding: 72px 0;
}

.home-section-header {
    margin-bottom: 44px;
}

.home-section-header-center {
    text-align: center;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.home-section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--home-primary);
    background: var(--home-primary-light);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.home-section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--home-dark);
    margin: 0 0 14px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.home-section-header p {
    font-size: 1.02rem;
    color: var(--home-muted);
    margin: 0;
    line-height: 1.75;
}

.home-section-header p a {
    color: var(--home-link);
    font-weight: 500;
}

.home-section-header p a:hover {
    text-decoration: underline;
}

/* =========================================================
   HERO
   ========================================================= */
.home-hero {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 55%, #d1fae5 100%);
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.home-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-hero-content .home-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--home-primary);
    background: rgba(255, 255, 255, 0.8);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(15, 118, 110, 0.15);
}

.home-hero-content h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--home-dark);
    margin: 0 0 20px;
    letter-spacing: -0.025em;
}

.home-hero-content h1 span {
    color: var(--home-primary);
    position: relative;
    display: inline-block;
}

.home-hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(15, 118, 110, 0.12);
    border-radius: 4px;
    z-index: -1;
}

.home-hero-description {
    font-size: 1.05rem;
    color: var(--home-text);
    line-height: 1.75;
    margin: 0 0 28px;
    max-width: 560px;
}

.home-hero-description strong {
    color: var(--home-primary);
    font-weight: 700;
}

.home-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.home-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-hero-trust li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--home-text);
    font-weight: 500;
}

.home-hero-trust li span {
    color: var(--home-primary);
    font-weight: 700;
}

/* Hero Visual - Calculator Preview */
.home-hero-visual {
    position: relative;
}

.home-hero-calculator {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 24px 60px rgba(15, 118, 110, 0.15), 0 4px 12px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 118, 110, 0.08);
    position: relative;
    transform: rotate(-1deg);
    transition: transform 0.4s ease;
}

.home-hero-calculator:hover {
    transform: rotate(0deg) translateY(-4px);
}

.home-hero-calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--home-border-soft);
}

.home-hero-calc-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--home-primary);
    background: var(--home-primary-light);
    padding: 5px 12px;
    border-radius: 6px;
}

.home-hero-calc-icon {
    font-size: 1.5rem;
}

.home-hero-calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    font-size: 0.9rem;
    color: var(--home-muted);
}

.home-hero-calc-row strong {
    color: var(--home-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.home-hero-calc-divider {
    height: 1px;
    background: var(--home-border-soft);
    margin: 16px 0;
}

.home-hero-calc-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--home-primary-light);
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.home-hero-calc-result span {
    font-size: 0.85rem;
    color: var(--home-primary);
    font-weight: 600;
}

.home-hero-calc-result strong {
    font-size: 1.4rem;
    color: var(--home-primary);
    font-weight: 800;
}

.home-hero-calc-result-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.home-hero-calc-result-secondary > div {
    background: var(--home-bg-soft);
    padding: 10px 12px;
    border-radius: 8px;
}

.home-hero-calc-result-secondary span {
    display: block;
    font-size: 0.7rem;
    color: var(--home-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 2px;
}

.home-hero-calc-result-secondary strong {
    font-size: 0.9rem;
    color: var(--home-dark);
    font-weight: 700;
}

/* Floating badges */
.home-hero-float-badge {
    position: absolute;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--home-dark);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--home-border-soft);
    animation: float 4s ease-in-out infinite;
}

.home-hero-float-badge.badge-1 {
    top: -14px;
    left: -20px;
    animation-delay: 0s;
}

.home-hero-float-badge.badge-2 {
    top: 40%;
    right: -30px;
    animation-delay: 1.3s;
}

.home-hero-float-badge.badge-3 {
    bottom: -14px;
    left: 30px;
    animation-delay: 2.6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* =========================================================
   CATEGORY GRID
   ========================================================= */
.home-intro {
    background: #ffffff;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-category-card {
    background: #ffffff;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.25s ease;
    position: relative;
    text-decoration: none;
}

.home-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--home-shadow-lg);
    border-color: var(--home-primary);
}

.home-category-icon {
    font-size: 1.8rem;
    width: 52px;
    height: 52px;
    background: var(--home-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.home-category-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--home-link);
    margin: 0;
}

.home-category-card p {
    font-size: 0.87rem;
    color: var(--home-muted);
    margin: 0;
    line-height: 1.55;
    flex: 1;
}

.home-category-count {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--home-primary);
    background: var(--home-primary-light);
    padding: 3px 10px;
    border-radius: 20px;
    align-self: flex-start;
    margin-top: 6px;
}

/* =========================================================
   FEATURED CALCULATORS
   ========================================================= */
.home-featured {
    background: var(--home-bg-soft);
}

.home-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-featured-card {
    background: #ffffff;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.25s ease;
    text-decoration: none;
    position: relative;
}

.home-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--home-shadow-lg);
    border-color: var(--home-primary);
}

.home-featured-icon {
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.home-featured-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--home-primary);
    background: var(--home-primary-light);
    padding: 3px 10px;
    border-radius: 5px;
    align-self: flex-start;
    margin-bottom: 6px;
}

.home-featured-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--home-link);
    margin: 0;
}

.home-featured-card p {
    font-size: 0.87rem;
    color: var(--home-muted);
    margin: 0;
    line-height: 1.55;
}

.home-featured-cta {
    text-align: center;
    margin-top: 40px;
}

/* =========================================================
   DASHBOARD
   ========================================================= */
.home-dashboard {
    background: #ffffff;
}

.home-dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-dashboard-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--home-dark);
    margin: 0 0 18px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.home-dashboard-content p {
    font-size: 1rem;
    color: var(--home-muted);
    line-height: 1.75;
    margin: 0 0 24px;
}

.home-dashboard-content p strong {
    color: var(--home-primary);
}

.home-dashboard-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.home-dashboard-tools span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--home-text);
    background: var(--home-primary-light);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(15, 118, 110, 0.12);
}

.home-dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Dashboard Preview Visual */
.home-dashboard-visual {
    position: relative;
}

.home-dashboard-preview {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--home-border);
    overflow: hidden;
}

.home-dashboard-preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--home-bg-soft);
    border-bottom: 1px solid var(--home-border-soft);
}

.home-dashboard-dot-group {
    display: flex;
    gap: 6px;
}

.home-dashboard-dot-group span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.home-dashboard-dot-group span:nth-child(1) { background: #f87171; }
.home-dashboard-dot-group span:nth-child(2) { background: #fbbf24; }
.home-dashboard-dot-group span:nth-child(3) { background: #34d399; }

.home-dashboard-preview-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--home-muted);
}

.home-dashboard-preview-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-dashboard-card-large {
    background: linear-gradient(135deg, var(--home-primary), var(--home-primary-hover));
    color: #ffffff;
    padding: 20px 22px;
    border-radius: 12px;
}

.home-dashboard-card-large .home-dashboard-card-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.home-dashboard-card-large .home-dashboard-card-value {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    margin: 6px 0 4px;
}

.home-dashboard-card-large .home-dashboard-card-trend {
    font-size: 0.8rem;
    color: #a7f3d0;
    font-weight: 600;
}

.home-dashboard-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.home-dashboard-card {
    background: var(--home-bg-soft);
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--home-border-soft);
}

.home-dashboard-card-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--home-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.home-dashboard-card-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--home-dark);
}

.home-dashboard-score {
    padding: 14px 16px;
    background: var(--home-bg-soft);
    border-radius: 10px;
    border: 1px solid var(--home-border-soft);
}

.home-dashboard-score-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.home-dashboard-score-head span {
    color: var(--home-muted);
    font-weight: 600;
}

.home-dashboard-score-head strong {
    color: var(--home-primary);
    font-weight: 800;
}

.home-dashboard-score-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.home-dashboard-score-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--home-primary), #10b981);
    border-radius: 4px;
}

.home-dashboard-progress {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-dashboard-progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
}

.home-dashboard-progress-row > span {
    width: 100px;
    color: var(--home-muted);
    font-weight: 600;
    flex-shrink: 0;
}

.home-dashboard-progress-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.home-dashboard-progress-bar span {
    display: block;
    height: 100%;
    background: var(--home-primary);
    border-radius: 3px;
}

/* =========================================================
   SPECIAL TOOLS
   ========================================================= */
.home-special-tools {
    background: var(--home-bg-soft);
}

.home-special-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-special-card {
    background: #ffffff;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.home-special-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--home-shadow-lg);
    border-color: var(--home-primary);
}

.home-special-icon {
    font-size: 1.8rem;
    width: 52px;
    height: 52px;
    background: var(--home-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.home-special-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--home-link);
    margin: 0;
}

.home-special-card p {
    font-size: 0.87rem;
    color: var(--home-muted);
    margin: 0;
    line-height: 1.55;
}

/* =========================================================
   LEARNING CENTER
   ========================================================= */
.home-learning {
    background: #ffffff;
}

.home-learning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-learning-card {
    background: #ffffff;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.home-learning-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--home-shadow-lg);
    border-color: var(--home-primary);
}

.home-learning-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--home-primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.home-learning-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--home-link);
    margin: 0;
}

.home-learning-card p {
    font-size: 0.85rem;
    color: var(--home-muted);
    margin: 0;
    line-height: 1.55;
}

.home-learning-cta {
    text-align: center;
    margin-top: 40px;
}

/* =========================================================
   FAQ
   ========================================================= */
.home-faq {
    background: var(--home-bg-soft);
}

.home-faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-faq-item {
    background: #ffffff;
    border: 1px solid var(--home-border);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.home-faq-item[open] {
    border-color: var(--home-primary);
    box-shadow: var(--home-shadow);
}

.home-faq-item summary {
    padding: 18px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--home-dark);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 50px;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.home-faq-item summary::-webkit-details-marker {
    display: none;
}

.home-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--home-primary);
    transition: transform 0.25s ease;
    line-height: 1;
}

.home-faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.home-faq-item summary:hover {
    color: var(--home-primary);
}

.home-faq-item p {
    padding: 0 22px 20px;
    margin: 0;
    font-size: 0.92rem;
    color: var(--home-muted);
    line-height: 1.75;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.home-final-cta {
    background: linear-gradient(135deg, #0f172a 0%, #0d4d47 100%);
    padding: 72px 0;
    color: #ffffff;
}

.home-final-cta-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.home-final-cta .home-section-label {
    background: rgba(255, 255, 255, 0.15);
    color: #a7f3d0;
}

.home-final-cta-inner h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.home-final-cta-inner p {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px;
    line-height: 1.7;
}

.home-final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.home-final-cta .home-btn-primary {
    background: #ffffff;
    color: var(--home-primary) !important;
    border-color: #ffffff;
}

.home-final-cta .home-btn-primary:hover {
    background: #f0fdfa;
    border-color: #f0fdfa;
    color: var(--home-primary-hover) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.home-final-cta .home-btn-secondary {
    background: transparent;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4);
}

.home-final-cta .home-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .home-hero-content h1 {
        font-size: 2.2rem;
    }

    .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .home-hero-visual {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .home-category-grid,
    .home-featured-grid,
    .home-special-grid,
    .home-learning-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-dashboard-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .home-section {
        padding: 52px 0;
    }

    .home-section-header h2,
    .home-dashboard-content h2,
    .home-final-cta-inner h2 {
        font-size: 1.55rem;
    }

    .home-hero {
        padding: 52px 0 60px;
    }

    .home-hero-content h1 {
        font-size: 1.85rem;
    }

    .home-hero-description {
        font-size: 0.98rem;
    }

    .home-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero-actions a {
        justify-content: center;
        text-align: center;
    }

    .home-hero-float-badge {
        display: none;
    }

    .home-category-grid,
    .home-featured-grid,
    .home-special-grid,
    .home-learning-grid {
        grid-template-columns: 1fr;
    }

    .home-dashboard-actions {
        flex-direction: column;
    }

    .home-dashboard-actions a {
        justify-content: center;
        text-align: center;
    }

    .home-dashboard-progress-row > span {
        width: 90px;
        font-size: 0.75rem;
    }

    .home-faq-item summary {
        padding: 16px 18px;
        padding-right: 44px;
        font-size: 0.9rem;
    }

    .home-faq-item summary::after {
        right: 18px;
    }

    .home-faq-item p {
        padding: 0 18px 18px;
        font-size: 0.88rem;
    }

    .home-final-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-final-cta-actions a {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home-container {
        padding: 0 16px;
    }

    .home-section {
        padding: 44px 0;
    }

    .home-section-header h2,
    .home-dashboard-content h2,
    .home-final-cta-inner h2 {
        font-size: 1.35rem;
    }

    .home-hero-content h1 {
        font-size: 1.6rem;
    }

    .home-hero-content h1 span::after {
        height: 6px;
        bottom: 2px;
    }

    .home-hero-calculator {
        padding: 20px;
    }

    .home-hero-calc-result strong {
        font-size: 1.2rem;
    }

    .home-btn-primary,
    .home-btn-secondary {
        padding: 12px 22px;
        font-size: 0.88rem;
    }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    .homepage *,
    .homepage *::before,
    .homepage *::after {
        animation: none !important;
        transition: none !important;
    }

    .home-category-card:hover,
    .home-featured-card:hover,
    .home-special-card:hover,
    .home-learning-card:hover {
        transform: none !important;
    }
}