/* ===========================
   GLOBAL VARIABLES & BASE
   =========================== */
:root {
    --accent: #006e4f;
    --accent-light: #00e6a7;
    --dark: #0a0a0a;
    --light: #ffffff;
    --muted: #6e6e6e;
    --bg: #f8f9f9;
    --radius: 12px;
    --shadow: 0 2px 12px rgba(0, 110, 79, 0.08);
}

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

body {
    font-family: "Inter", system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.6;
}

/* ===========================
   NAVBAR
   =========================== */
header {
    background: var(--light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 4%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--accent);
}

.btn {
    padding: 0.6rem 1.2rem;
    background-color: var(--accent);
    color: var(--light);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background-color: var(--accent-light);
    color: var(--dark);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 6%;
    background: linear-gradient(135deg, #ffffff 0%, #f4f9f7 100%);
}

.hero-text {
    flex: 1;
    min-width: 280px;
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: 2.6rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.hero-image {
    flex: 1;
    min-width: 280px;
    text-align: right;
}

.hero-image img {
    width: 90%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ===========================
   SECTIONS (General)
   =========================== */
section {
    padding: 80px 8%;
}

section:nth-of-type(even) {
    background-color: #ffffff;
}

h2 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 2rem;
    text-align: center;
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works .steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.how-it-works .step {
    flex: 1 1 250px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.how-it-works .step:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    background-color: var(--accent);
    color: var(--light);
    font-weight: 700;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.how-it-works h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.how-it-works p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ===========================
   WHY CHOOSE SAPIENT
   =========================== */
.features .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-6px);
}

.feature img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
    background: var(--bg);
}

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

.testimonial {
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial p {
    color: var(--dark);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial h4 {
    color: var(--accent);
    font-weight: 600;
}

/* ===========================
   VIDEO SECTION
   =========================== */
.video-section {
    text-align: center;
}

.video-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.video-container iframe {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 100%;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background-color: var(--dark);
    color: var(--light);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        text-align: center;
        margin-top: 2rem;
    }

    nav {
        gap: 1rem;
    }

    .feature-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works .steps {
        flex-direction: column;
    }
}

/* ===========================
   ABOUT PAGE
   =========================== */

.about-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f4f9f7 100%);
    padding: 4rem 6%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.about-hero .hero-text {
    flex: 1;
    min-width: 280px;
    padding-right: 2rem;
}

.about-hero h1 {
    font-size: 2.4rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 550px;
}

.about-section {
    padding: 4rem 6%;
    text-align: center;
    background: var(--light);
}

.about-section:nth-of-type(even) {
    background: var(--bg);
}

.about-section h2 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.brand-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #123b2d;
}

nav a {
    color: #123b2d;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

nav a:hover {
    color: #0f2c22;
}

.about-section p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin-top: 1.5rem;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-list li {
    background: var(--bg);
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Reuse feature grid style from home */
.features h2 {
    color: var(--accent);
}

/* TEAM SECTION */
.team-section {
    background: var(--bg);
    text-align: center;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: var(--light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    max-width: 250px;
    text-align: center;
}

.team-member img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--accent-light);
    object-fit: cover;
}

.team-member h4 {
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.team-member p {
    color: var(--muted);
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, #006e4f 0%, #00e6a7 100%);
    text-align: center;
    color: #fff;
    padding: 5rem 2rem;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn {
    background: #fff;
    color: var(--accent);
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    background: var(--accent-light);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero {
        flex-direction: column;
        text-align: center;
    }

    .about-hero .hero-image {
        text-align: center;
        margin-top: 2rem;
    }

    .team-grid {
        flex-direction: column;
    }

    .team-member {
        width: 100%;
        max-width: 350px;
    }
}

/* ===========================
   CONTACT PAGE
   =========================== */

/* HERO SECTION */
.contact-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f4f9f7 100%);
    text-align: center;
    padding: 4rem 2rem 3rem;
}

.contact-hero h1 {
    color: var(--accent);
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* MAIN CONTACT FORM AREA */
.contact-main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem 5rem;
    background: var(--bg);
}

.contact-container {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 3rem 2rem;
    max-width: 500px;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #d1d1d1;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 110, 79, 0.15);
    outline: none;
}

/* BUTTON */
.contact-form .btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    background: var(--accent-light);
    color: var(--dark);
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-container {
        padding: 2rem 1.5rem;
    }

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

    .contact-hero p {
        font-size: 1rem;
    }
}

/* ===========================
   SIGNUP PAGE
   =========================== */

/* MAIN AUTH SECTION */
.auth-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    background: linear-gradient(135deg, #f4f9f7 0%, #ffffff 100%);
    padding: 3rem 1rem;
}

.auth-container {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.auth-container h1 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.auth-container p {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* FORM */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signup-form input {
    padding: 0.9rem 1rem;
    border: 1px solid #d1d1d1;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.signup-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 110, 79, 0.15);
    outline: none;
}

.signup-form .btn.primary {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-form .btn.primary:hover {
    background: var(--accent-light);
    color: var(--dark);
    transform: translateY(-3px);
}

/* DIVIDER */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: #aaa;
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
    margin: 0 1rem;
}

/* FOOTER LINK */
.auth-footer {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.auth-footer a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .auth-container {
        padding: 2.5rem 1.5rem;
    }

    .auth-container h1 {
        font-size: 1.8rem;
    }
}

/* ===========================
   LOGIN PAGE (shares signup layout)
   =========================== */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-form input {
    padding: 0.9rem 1rem;
    border: 1px solid #d1d1d1;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.login-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 110, 79, 0.15);
    outline: none;
}

.login-form .btn.primary {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-form .btn.primary:hover {
    background: var(--accent-light);
    color: var(--dark);
    transform: translateY(-3px);
}

/* ================================================
   PAYMENT PAGE (Isolated Styling)
   ================================================ */

:root {
    --accent: #1d4d2f;
    --muted: #555;
    --light: #ffffff;
    --radius: 10px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ========== PAGE BASE ========== */
.payment-page {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
}

/* ========== HEADER ========== */
.payment-page .site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.payment-page .site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-page .logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.payment-page .logo img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.payment-page .brand-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent);
}

.payment-page nav a {
    color: var(--accent);
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.payment-page nav a:hover {
    color: #164027;
}

/* ========== BUTTONS ========== */
.payment-page .btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.payment-page .btn.primary {
    background: var(--accent);
    color: #fff;
}

.payment-page .btn.primary:hover {
    background: #164027;
    transform: translateY(-2px);
}

.payment-page .btn.secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.payment-page .btn.secondary:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ================================================
   PLAN SECTION
   ================================================ */
.plan-section {
    background: #f9fafb;
    padding: 4rem 6%;
    text-align: center;
}

.plan-section .section-title {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.plan-section .section-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 3rem;
}

.plan-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.plan-card {
    background: var(--light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
}

.plan-card h2 {
    font-size: 1.8rem;
    color: var(--accent);
}

.plan-card h2 span {
    font-size: 1rem;
    color: var(--muted);
}

.plan-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0.8rem 0 1.5rem;
    line-height: 1.6;
}

.plan-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    background: #164027;
    transform: translateY(-3px);
}

/* ================================================
   PAYMENT FORM
   ================================================ */
.payment-section {
    padding: 3rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 2.5rem;
    width: 100%;
    max-width: 380px;
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-box:hover {
    transform: translateY(-3px);
}

.payment-box h1 {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.payment-box p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.payment-form input {
    width: 100%;
    margin-bottom: 0.8rem;
    padding: 0.7rem;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    transition: border 0.2s ease;
}

.payment-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.payment-form button {
    width: 100%;
    padding: 0.75rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.3s ease;
}

.payment-form button:hover {
    background: #164027;
    transform: translateY(-2px);
}

/* Alternative Payment Buttons */
#monnifyPayBtn,
#cryptoPayBtn {
    width: 100%;
    margin-top: 0.6rem;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.7rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

#monnifyPayBtn:hover,
#cryptoPayBtn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider span {
    background: #fff;
    padding: 0 10px;
    color: var(--muted);
    font-size: 0.9rem;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ddd;
    z-index: -1;
}

/* ================================================
   IMPACT & ALLOCATION STYLING
   ================================================ */
.impact-section {
    background: #f9fafb;
    padding: 4rem 6%;
    text-align: center;
    border-top: 1px solid #e6e6e6;
}

.impact-section h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.impact-intro {
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

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

.allocation-card {
    background: var(--light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.8rem 1.5rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.allocation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.allocation-card h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.allocation-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.impact-footer {
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.impact-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    margin-top: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.impact-btn:hover {
    background: #184b2f;
    transform: translateY(-3px);
}

/* ================================================
   FOOTER
   ================================================ */
.payment-page footer {
    background: #fafafa;
    text-align: center;
    padding: 1.2rem;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eee;
}

/* ===========================
   SIGNALS PAGE
   =========================== */
.signals-dashboard {
    padding: 2rem 6%;
}

.live-section {
    background: var(--light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.live-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.live-header h1 {
    color: var(--accent);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.live-badge {
    color: #e60000;
    font-size: 1rem;
    font-weight: 700;
}

.muted {
    color: var(--muted);
}

.signals-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1rem;
}

.loading {
    text-align: center;
    color: var(--muted);
    padding: 2rem 0;
}

.signal-card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem 1.2rem;
    border-left: 5px solid var(--accent);
    transition: transform 0.2s;
}

.signal-card:hover {
    transform: translateY(-3px);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Card Style */
.card {
    background: var(--light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.8rem;
}

.card h2 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.tool-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tool-form input,
.tool-form select {
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border 0.3s;
}

.tool-form input:focus,
.tool-form select:focus {
    border-color: var(--accent);
    outline: none;
}

.result-text {
    margin-top: 0.6rem;
    font-weight: 600;
    color: var(--accent);
}

.metric {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
}

.small-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.premium-card {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--light);
    text-align: center;
}

.premium-card h2 {
    color: var(--light);
}

.signal {
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.signal.compliant {
    background-color: #e6ffe6;
    border-color: #28a745;
}

.signal.non-compliant {
    background-color: #ffe6e6;
    border-color: #dc3545;
}

.tool-card {
    padding: 20px;
    border-radius: 12px;
}

.result-text {
    margin-top: 10px;
    color: #333;
}

#trialBanner {
    background-color: #ffcc00;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
}

#trialBanner .btn {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background-color: var(--dark);
    color: var(--light);
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .signals-dashboard {
        padding: 1rem 4%;
    }

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

    .card {
        padding: 1.5rem;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-image {
        margin-bottom: 1.5rem;
    }
}