/* ==========================================================================
   Base Styles - (Originally from base.css)
   Foundation, Grid, Typography, Header, Footer
   ========================================================================== */

*,
::after,
::before {
    box-sizing: border-box;
}
  
    
html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    background-color: #000;
    color: #ccc;
}

body,
html {
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-3,
.col-md-4,
.col-md-12 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.text-center {
    text-align: center !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }

p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #ccc;
}

a {
    color: #00aaff;
    text-decoration: none;
}
a:hover {
    color: #0077cc;
    text-decoration: underline;
}

img {
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
    height: auto;
}

section {
    padding: 60px 0;
    text-align: center;
}
section h2, section h3 {
    margin-bottom: 20px;
}
main .container h1, main .container h2, main .container h3 {
    text-align: center;
}

.site-header {
    background-color: #111;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo {
    max-height: 100px;
    object-fit: contain;
}
.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 20px;
}
.main-navigation a {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}
.main-navigation a:hover {
    color: #00aaff;
}

.footer {
    background: #111;
    color: #aaa;
    padding: 50px 0;
    text-align: center;
}
.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.footer-info, .footer-legal {
    padding: 0 20px;
}
.footer a {
    color: #00aaff;
}
.footer a:hover {
    color: #fff;
}
.footer-legal-disclaimer {
    text-align: center;
    padding: 20px;
    background-color: #0a0a0a;
    border-top: 1px solid #333;
}
.disclaimer {
    font-size: 0.8rem;
    color: #888;
    max-width: 900px;
    margin: 0 auto;
}

.btn, .btn-primary, .btn-common {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: auto;
}
.btn:hover, .btn-primary:hover, .btn-common:hover {
    background-color: #0056b3;
}

.back-to-top {
    display: none;
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    border-radius: 4px;
    background: #ff7000;
    color: #fff;
    z-index: 999;
}


/* ==========================================================================
   Components & Reusable Sections - (Originally from components.css)
   ========================================================================== */

.section-padding {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
}
.section-title p {
    font-size: 16px;
    color: #aaa;
    line-height: 1.6;
}

.full-width-banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 15px;
}
.full-width-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.area {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

#our-services .area,
#tools .area,
#courses .area {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
#our-services .area p,
#tools .area p,
#courses .area p {
    flex-grow: 1;
}

.service-image-wrapper,
.tool-image-wrapper,
.course-image-wrapper {
    margin-bottom: 15px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-image-wrapper img,
.tool-image-wrapper img,
.course-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

#jarvis-3-5-section {
    padding: 60px 0;
    background-color: #0a0a0a;
}

.ai-app-wrapper {
    max-width: 1200px;
    margin: 40px auto 50px;
    padding: 15px;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #111;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.ai-app-iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
    background-color: #fff;
}
stripe-pricing-table {
    margin-top: 40px;
    width: 100%;
}
.customer-links-container {
    margin-top: 30px;
    font-size: 1.1em;
    text-align: center;
}
.customer-links-container a {
    color: #00aaff;
    text-decoration: none;
}
.customer-links-container a:hover {
    color: #fff;
    text-decoration: underline;
}
.customer-links-container .separator {
    margin: 0 15px;
    color: #555;
}

#partners .partnership-area {
    padding: 40px 0;
}
.partnership-image-wrapper {
    max-width: 800px;
    max-height: 800px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.partnership-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}


/* ==========================================================================
   Pop-up System - (Originally from popups.css)
   ========================================================================== */

#main-popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
#main-popup-container.visible {
    display: flex;
    opacity: 1;
}
.popup-content {
    background-color: #1e1e1e;
    color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}
.popup-content h2,
.popup-content h3 {
    margin-top: 0;
    color: #fff;
}
.popup-content p {
    color: #ddd;
}
.popup-buttons {
    margin-top: 20px;
}
.close-popup-btn,
.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #888;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.close-popup-btn:hover,
.close-button:hover {
    color: #fff;
}
.lead-capture-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}
.lead-capture-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    color: #ddd;
}
.lead-capture-form input[type="email"],
.lead-capture-form input[type="text"] {
    width: 100%;
    padding: 12px;
    margin: 5px 0 15px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #333;
    color: #fff;
    font-size: 1rem;
}
.form-message {
    margin-top: 15px;
    font-weight: 700;
}


/* ==========================================================================
   CustomHits Page - (Originally from customhits.css)
   ========================================================================== */

.hero-section {
    padding: 80px 0;
    text-align: center;
}
.hero-image {
    max-width: 600px;
    margin-bottom: 30px;
    border-radius: 10px;
}
.lead {
    font-size: 1.25rem;
    color: #aaa;
    margin-bottom: 30px;
}
.feature-box,
.step-box,
.testimonial-box {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    height: 100%;
}
.feature-icon,
.step-number {
    font-size: 2.5rem;
    color: #00aaff;
    margin-bottom: 15px;
}
.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 58px;
    border: 2px solid #00aaff;
    border-radius: 50%;
}
.pricing-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid #333;
}
.pricing-card.featured {
    border-color: #00aaff;
}
.pricing-icon {
    font-size: 3rem;
    color: #00aaff;
    margin-bottom: 20px;
}
.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}
.price-tag span {
    font-size: 1rem;
    color: #aaa;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    flex-grow: 1;
}
.pricing-card li {
    margin-bottom: 10px;
}
.pricing-card li .fa-check {
    color: #28a745;
    margin-right: 10px;
}
.testimonial-author {
    margin-top: 15px;
    font-weight: 700;
    font-style: italic;
}


/* ==========================================================================
   Responsive Overrides - (Combined from base.css)
   ========================================================================== */

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    section { padding: 40px 0; }
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }
    #our-services .col-md-3,
    #tools .col-md-3,
    #courses .col-md-4,
    .col-md-4 { 
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* 
   This is the grid system for larger screens.
   It targets screens 768px and wider (the 'md' breakpoint).
*/
@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* --- Definitive Pricing Card Styles --- */

.new-pricing-container {
    background-color: #000; /* Match the black background */
    color: #e5e7eb;       /* A light gray for body text */
    padding: 4rem 0;
}

.new-pricing-container h3 {
    color: #fff;
    font-weight: bold;
    margin-bottom: 2.5rem !important;
}

.pricing-plan-card.card {
    background-color: #111827; /* Dark gray, almost black */
    border: 1px solid #0891b2; /* Cyan-600 border */
    border-radius: 0.75rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 15px -3px rgba(8, 145, 178, 0.1), 0 4px 6px -2px rgba(8, 145, 178, 0.05);
}

.pricing-plan-card.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(8, 145, 178, 0.2), 0 10px 10px -5px rgba(8, 145, 178, 0.1);
}

.pricing-plan-card .card-title {
    color: #fff; /* White title */
    font-weight: 600;
}

.pricing-plan-card .price {
    color: #67e8f9; /* Lighter cyan for emphasis */
    font-family: 'monospace', sans-serif;
    font-size: 1.75rem;
}

.pricing-plan-card .price .text-muted {
    font-size: 1rem;
    font-weight: normal;
}

.pricing-plan-card .card-text {
    color: #9ca3af; /* A medium gray for the description */
    min-height: 80px; /* Ensures cards have uniform height */
}

.pricing-plan-card .btn-primary {
    background-color: #0e7490; /* Darker cyan */
    border-color: #0e7490;
    font-weight: bold;
}

.pricing-plan-card .btn-primary:hover {
    background-color: #0891b2; /* Brighter cyan on hover */
    border-color: #0891b2;
}

/*
=========================================================================
--- DEFINITIVE FOOTER STYLES ---
=========================================================================
*/

.site-footer {
    text-align: center; /* Center all text content */
}

.footer-container {
    display: block; /* Override any flex properties to stack the sections */
}

.footer-info {
    margin-bottom: 1.5rem; /* Add space between the info and legal sections */
}

.footer-legal p {
    display: inline-block; /* Make the legal links sit side-by-side */
    margin: 0 0.75rem; /* Add horizontal spacing between links */
}