/* =========================================================
   MoneySaverHub - Premium Finance Website
   Main Stylesheet
========================================================= */


/* =========================================================
   1. RESET & GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #071a2b;
    --navy-light: #0d2940;
    --green: #18a66a;
    --green-dark: #0d8754;
    --green-light: #e9f8f1;
    --white: #ffffff;
    --grey-50: #f8fafb;
    --grey-100: #f1f4f6;
    --grey-200: #e3e8ec;
    --grey-500: #687783;
    --grey-700: #33424d;
    --text: #17232d;
    --shadow: 0 15px 45px rgba(7, 26, 43, 0.08);
    --shadow-hover: 0 22px 55px rgba(7, 26, 43, 0.14);
    --radius: 18px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================================
   2. HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--grey-200);
    backdrop-filter: blur(15px);
}

.header-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.logo-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--green);
    color: var(--white);
    font-size: 21px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(24, 166, 106, 0.25);
}

.logo-text {
    color: var(--navy);
    font-size: 21px;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--green);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 21px;
}

.nav-link {
    color: var(--grey-700);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green);
}

.nav-button {
    padding: 11px 18px;
    border-radius: 9px;
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-button:hover {
    background: var(--green);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--grey-200);
    border-radius: 10px;
    background: var(--white);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--navy);
    border-radius: 5px;
}


/* =========================================================
   3. HERO
========================================================= */

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 25%, rgba(24, 166, 106, 0.13), transparent 28%),
        linear-gradient(135deg, #f7fafb 0%, #ffffff 60%);
    padding: 105px 0 115px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    margin-bottom: 22px;
    border-radius: 100px;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-content h1 {
    max-width: 700px;
    color: var(--navy);
    font-size: clamp(45px, 5vw, 70px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.hero-content h1 span {
    display: block;
    color: var(--green);
}

.hero-description {
    max-width: 620px;
    color: var(--grey-500);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 21px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(24, 166, 106, 0.2);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(24, 166, 106, 0.25);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 1px solid var(--grey-200);
}

.btn-secondary:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-3px);
}

.hero-note {
    margin-top: 23px;
    color: var(--grey-500);
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   4. HERO FINANCE VISUAL
========================================================= */

.hero-visual {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.finance-card {
    position: relative;
    z-index: 2;
    width: min(470px, 100%);
    padding: 29px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: var(--shadow-hover);
    backdrop-filter: blur(15px);
    animation: floatCard 5s ease-in-out infinite;
}

.finance-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.finance-card-header small {
    color: var(--grey-500);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.finance-card-header h3 {
    margin-top: 4px;
    color: var(--navy);
    font-size: 21px;
}

.finance-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--green-light);
    color: var(--green);
    font-size: 20px;
    font-weight: 800;
}

.chart-area {
    position: relative;
    height: 190px;
    margin: 28px 0 20px;
    overflow: hidden;
    border-bottom: 1px solid var(--grey-200);
    background:
        linear-gradient(var(--grey-100) 1px, transparent 1px),
        linear-gradient(90deg, var(--grey-100) 1px, transparent 1px);
    background-size: 100% 47px, 70px 100%;
}

.chart-line {
    position: absolute;
    left: 2%;
    top: 55%;
    width: 96%;
    height: 100%;
    border-top: 4px solid var(--green);
    transform: rotate(-8deg);
    border-radius: 50%;
}

.chart-point {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 3px 10px rgba(24, 166, 106, 0.3);
}

.point-one {
    left: 8%;
    top: 63%;
}

.point-two {
    left: 27%;
    top: 52%;
}

.point-three {
    left: 48%;
    top: 45%;
}

.point-four {
    left: 70%;
    top: 27%;
}

.point-five {
    right: 4%;
    top: 15%;
}

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

.stat-box {
    padding: 14px;
    border-radius: 12px;
    background: var(--grey-50);
}

.stat-box small {
    display: block;
    color: var(--grey-500);
    font-size: 10px;
    margin-bottom: 3px;
}

.stat-box strong {
    color: var(--navy);
    font-size: 21px;
}

.positive {
    display: block;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
}

.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 13px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.floating-card strong {
    display: block;
    color: var(--navy);
    font-size: 12px;
}

.floating-card small {
    display: block;
    color: var(--grey-500);
    font-size: 9px;
}

.floating-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--green-light);
    color: var(--green);
    font-weight: 800;
}

.floating-card-one {
    top: 11%;
    left: -2%;
    animation: floatSmall 4s ease-in-out infinite;
}

.floating-card-two {
    right: -3%;
    bottom: 12%;
    animation: floatSmall 4.5s ease-in-out infinite;
}


/* =========================================================
   5. TRUST
========================================================= */

.trust-section {
    position: relative;
    z-index: 5;
    margin-top: -40px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 25px 21px;
    border-right: 1px solid var(--grey-200);
}

.trust-card:last-child {
    border-right: none;
}

.trust-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--green-light);
    color: var(--green);
    font-weight: 800;
}

.trust-card h3 {
    color: var(--navy);
    font-size: 13px;
    margin-bottom: 2px;
}

.trust-card p {
    color: var(--grey-500);
    font-size: 10px;
    line-height: 1.4;
}


/* =========================================================
   6. SECTION HEADINGS
========================================================= */

.topics-section,
.articles-section,
.why-section {
    padding: 110px 0;
}

.topics-section {
    background: var(--white);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 45px;
}

.section-label {
    display: block;
    margin-bottom: 9px;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.section-heading h2,
.why-content h2,
.newsletter-content h2 {
    color: var(--navy);
    font-size: clamp(31px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.section-heading > p {
    max-width: 480px;
    color: var(--grey-500);
    font-size: 14px;
    line-height: 1.8;
}

.view-all {
    flex: 0 0 auto;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   7. TOPIC CARDS
========================================================= */

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

.topic-card {
    position: relative;
    display: flex;
    gap: 18px;
    min-height: 215px;
    padding: 26px;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
    overflow: hidden;
}

.topic-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -50px;
    bottom: -50px;
    border-radius: 50%;
    background: var(--green-light);
    transition: var(--transition);
}

.topic-card:hover {
    border-color: rgba(24, 166, 106, 0.35);
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.topic-card:hover::after {
    transform: scale(1.6);
}

.topic-icon {
    flex: 0 0 auto;
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--green-light);
    font-size: 24px;
}

.topic-content {
    position: relative;
    z-index: 2;
}

.topic-content h3 {
    color: var(--navy);
    font-size: 19px;
    margin-bottom: 9px;
}

.topic-content p {
    color: var(--grey-500);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 17px;
}

.topic-link {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   8. ARTICLES
========================================================= */

.articles-section {
    background: var(--grey-50);
}

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

.article-card {
    overflow: hidden;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.article-image {
    position: relative;
    height: 185px;
    overflow: hidden;
}

.article-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(7, 26, 43, 0.95), rgba(24, 166, 106, 0.5));
}

.article-image::after {
    content: "$";
    position: absolute;
    right: 25px;
    bottom: -20px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 130px;
    font-weight: 800;
}

.image-saving::before {
    background:
        radial-gradient(circle at 30% 30%, rgba(24, 166, 106, 0.75), transparent 35%),
        linear-gradient(135deg, #092237, #0d5f45);
}

.image-investing::before {
    background:
        radial-gradient(circle at 75% 20%, rgba(24, 166, 106, 0.8), transparent 30%),
        linear-gradient(135deg, #081c30, #174d67);
}

.image-credit::before {
    background:
        radial-gradient(circle at 25% 70%, rgba(24, 166, 106, 0.7), transparent 35%),
        linear-gradient(135deg, #0a2034, #334b58);
}

.image-banking::before {
    background:
        radial-gradient(circle at 75% 60%, rgba(24, 166, 106, 0.7), transparent 30%),
        linear-gradient(135deg, #071a2b, #27544e);
}

.article-category {
    position: absolute;
    z-index: 2;
    left: 17px;
    top: 17px;
    padding: 6px 10px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.93);
    color: var(--navy);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.article-content {
    padding: 21px;
}

.article-meta {
    display: flex;
    gap: 6px;
    margin-bottom: 9px;
    color: var(--green);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.article-content h3 {
    color: var(--navy);
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 10px;
}

.article-content h3 a:hover {
    color: var(--green);
}

.article-content p {
    color: var(--grey-500);
    font-size: 12px;
    line-height: 1.65;
    margin-bottom: 17px;
}

.read-more {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   9. WHY CHOOSE US
========================================================= */

.why-section {
    background: var(--white);
}

.why-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 90px;
}

.why-visual {
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    background:
        radial-gradient(circle at 30% 30%, rgba(24, 166, 106, 0.25), transparent 30%),
        linear-gradient(135deg, var(--navy), var(--navy-light));
}

.knowledge-card {
    width: 76%;
    padding: 27px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.knowledge-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.knowledge-top span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.knowledge-top strong {
    color: #72e0ac;
    font-size: 28px;
}

.progress-bar {
    height: 8px;
    margin: 23px 0;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
}

.progress-fill {
    width: 82%;
    height: 100%;
    border-radius: inherit;
    background: var(--green);
    animation: progressLoad 1.8s ease;
}

.knowledge-row {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
}

.knowledge-row strong {
    color: #72e0ac;
}

.knowledge-message {
    margin-top: 28px;
    padding: 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
}

.why-content h2 {
    margin-bottom: 21px;
}

.why-content h2 span {
    display: block;
    color: var(--green);
}

.why-content > p {
    max-width: 600px;
    color: var(--grey-500);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.benefit-list {
    display: grid;
    gap: 21px;
}

.benefit-item {
    display: flex;
    gap: 15px;
}

.benefit-icon {
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--green-light);
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.benefit-item h3 {
    color: var(--navy);
    font-size: 14px;
    margin-bottom: 3px;
}

.benefit-item p {
    color: var(--grey-500);
    font-size: 12px;
}


/* =========================================================
   10. NEWSLETTER
========================================================= */

.newsletter-section {
    padding: 85px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    top: -220px;
    border-radius: 50%;
    background: rgba(24, 166, 106, 0.14);
}

.newsletter-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.newsletter-label {
    display: block;
    margin-bottom: 12px;
    color: #72e0ac;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter-content h2 span {
    color: #72e0ac;
}

.newsletter-content p {
    max-width: 530px;
    color: rgba(255, 255, 255, 0.63);
    font-size: 13px;
    line-height: 1.8;
}

.email-wrapper {
    display: flex;
    gap: 9px;
    padding: 7px;
    border-radius: 13px;
    background: var(--white);
}

.email-wrapper input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0 13px;
    color: var(--navy);
    background: transparent;
    font-size: 13px;
}

.email-wrapper input::placeholder {
    color: #9ba5ab;
}

.email-wrapper .btn {
    border: none;
    white-space: nowrap;
}

.newsletter-form > small {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 9px;
    line-height: 1.5;
}

.form-message {
    margin-top: 8px;
    color: #72e0ac;
    font-size: 11px;
}


/* =========================================================
   11. FOOTER
========================================================= */

.site-footer {
    background: #04131f;
    color: var(--white);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 55px;
    padding: 70px 0 55px;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-brand > p {
    max-width: 300px;
    margin: 19px 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 700;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 13px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: #72e0ac;
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom-container {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.36);
    font-size: 9px;
}


/* =========================================================
   12. ANIMATIONS
========================================================= */

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes floatSmall {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes progressLoad {
    from {
        width: 0;
    }

    to {
        width: 82%;
    }
}


/* =========================================================
   13. TABLET
========================================================= */

@media (max-width: 1050px) {

    .main-navigation {
        gap: 12px;
    }

    .nav-link {
        font-size: 11px;
    }

    .hero-container {
        gap: 40px;
    }

    .trust-card {
        padding: 20px 15px;
    }

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

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

    .why-container {
        gap: 50px;
    }
}


/* =========================================================
   14. MOBILE NAVIGATION
========================================================= */

@media (max-width: 850px) {

    .header-container {
        min-height: 70px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: absolute;
        top: 70px;
        left: 4%;
        right: 4%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--grey-200);
        border-radius: 15px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-navigation.open {
        display: flex;
    }

    .nav-link {
        padding: 12px;
        font-size: 13px;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: var(--green-light);
    }

    .nav-button {
        margin-top: 6px;
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-note {
        line-height: 2;
    }

    .hero-visual {
        min-height: 420px;
    }

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

    .trust-card:nth-child(2) {
        border-right: none;
    }

    .trust-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--grey-200);
    }

    .why-container {
        grid-template-columns: 1fr;
    }

    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   15. SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: min(92%, 520px);
    }

    .hero-section {
        padding: 70px 0 85px;
    }

    .hero-content h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 350px;
    }

    .finance-card {
        padding: 20px;
    }

    .floating-card {
        display: none;
    }

    .chart-area {
        height: 145px;
    }

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

    .trust-card {
        border-right: none;
        border-bottom: 1px solid var(--grey-200);
    }

    .trust-card:last-child {
        border-bottom: none;
    }

    .topics-section,
    .articles-section,
    .why-section {
        padding: 75px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .topics-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .topic-card {
        min-height: auto;
    }

    .why-visual {
        min-height: 320px;
    }

    .knowledge-card {
        width: 84%;
    }

    .newsletter-section {
        padding: 70px 0;
    }

    .email-wrapper {
        flex-direction: column;
        padding: 8px;
    }

    .email-wrapper input {
        min-height: 45px;
    }

    .email-wrapper .btn {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px 25px;
        padding: 55px 0 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-container {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 17px 0;
    }
}


/* =========================================================
   16. VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .logo-text {
        font-size: 18px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .finance-stats {
        grid-template-columns: 1fr;
    }

    .chart-area {
        display: none;
    }
}