/* ---------------------------------------------------- */
/* 01. GLOBAL STYLES & RESETS */
/* ---------------------------------------------------- */

:root {
    /* Branding Colors (Adjust these to match your brand) */
    --primary-color: #0056b3; /* A professional blue */
    --secondary-color: #28a745; /* Green for success/CTAs */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --background-light: #ffffff;
    --background-section: #f9f9f9;
    --border-color: #ddd;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    scroll-behavior: smooth;
}

/* Base Typography */
h1, h2, h3 {
    margin-bottom: 0.5em;
    font-weight: 700;
    color: var(--primary-color);
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

p {
    margin-bottom: 1em;
}

/* Container for centered content */
section, header {
    padding: 30px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------------------------------------------------- */
/* 02. BUTTONS & CALL-TO-ACTIONS (CTAs) */
/* ---------------------------------------------------- */

.cta-primary, .cta-secondary, .cta-nav {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
}

/* Primary CTA (Main Action: Get Demo) */
.cta-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    font-size: 1.1em;
    border: 2px solid var(--secondary-color);
}

.cta-primary:hover {
    background-color: #1e7e34;
    transform: translateY(-2px);
}

/* Secondary CTA (e.g., Pricing plans, Nav link) */
.cta-secondary, .cta-nav {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-secondary:hover, .cta-nav:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* ---------------------------------------------------- */
/* 03. HEADER & NAVIGATION */
/* ---------------------------------------------------- */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: var(--background-light);
    z-index: 1000;
}

.logo h1 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    padding: 5px 0;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}


/* ---------------------------------------------------- */
/* 04. HERO SECTION */
/* ---------------------------------------------------- */

#hero {
    text-align: center;
    padding: 60px 5%;
    background-color: var(--background-section);
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 0.3em;
    line-height: 1.2;
}

#hero p {
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
}

.trust-icons {
    margin-top: 25px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9em;
}

.trust-icons span {
    margin: 0 10px;
}

/* ---------------------------------------------------- */
/* 05. CORE SECTIONS (FEATURES, BANKS, PRICING) */
/* ---------------------------------------------------- */

/* Alternating Backgrounds for visual separation */
#features, #pricing, #contact {
    background-color: var(--background-section);
}

#banks {
    background-color: var(--background-light);
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Features List Styling */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-list article {
    background-color: var(--background-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.feature-list h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* Banks Supported Section */
.bank-logos {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    padding: 20px 0;
}

.bank-logos span {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    line-height: 2.2;
}

/* Pricing Section */
.pricing-table {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.plan {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    flex: 1 1 300px; /* Allows plans to flex up to 300px wide */
    max-width: 350px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.plan h3 {
    margin-top: 0;
    font-size: 1.8em;
}

.plan .price {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 10px 0 20px;
}

.plan ul {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.plan ul li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-color);
}

/* ---------------------------------------------------- */
/* 06. CONTACT/FORM SECTION */
/* ---------------------------------------------------- */

#contact {
    text-align: center;
}

#contact h2 {
    color: var(--text-dark);
}

#contact form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--background-light);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

#contact input, #contact button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1em;
}

#contact button {
    cursor: pointer;
}

/* ---------------------------------------------------- */
/* 07. FOOTER */
/* ---------------------------------------------------- */

footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 20px 5%;
}

footer a {
    color: #a0c4ff;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

address {
    font-style: normal;
    margin: 10px 0;
    font-size: 0.9em;
}

/* ---------------------------------------------------- */
/* 08. MEDIA QUERIES (Responsiveness) */
/* ---------------------------------------------------- */

@media (max-width: 768px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.7em; }
    
    header {
        flex-direction: column;
        padding-bottom: 15px;
    }
    
    nav ul {
        padding-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 15px;
    }

    /* Adjust padding for smaller screens */
    section {
        padding: 40px 4%;
    }

    .pricing-table {
        flex-direction: column;
        align-items: center;
    }

    .plan {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 1.7em;
    }

    .trust-icons span {
        display: block;
        margin: 5px 0;
    }
}