/* custom.css — Stima (stimaboda.org) */
/* Accent: #00c896 | Dark theme | EV battery fleet management SaaS */

:root {
    --bg: #0a1a0a;
    --surface: #0f1f0f;
    --surface2: #1a2f1a;
    --text: #e8eaf0;
    --text-muted: #8892a4;
    --accent: #00c896;
    --accent-dark: #00a07a;
    --accent-light: rgba(0, 200, 150, 0.15);
    --border: rgba(255, 255, 255, 0.08);
    --radius: 12px;
    --gap: 40px;
    --nav-height: 72px;
}

/* =============================================
   TYPOGRAPHY OVERRIDES
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    text-transform: none !important;
    letter-spacing: normal !important;
}

body {
    font-size: 18px;
    color: var(--text) !important;
    background-color: var(--bg) !important;
    line-height: 1.9;
}

section, .section {
    color: var(--text);
}

.card, .panel, [class*="card"], [class*="panel"] {
    color: var(--text);
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

/* =============================================
   NAV OVERRIDES
   ============================================= */
#navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
#navbar .logo img {
    height: 36px;
    width: auto;
}
#navbar .logo-text { display: none; }
#navbar .logo-icon { display: none; }

#navbar .nav-link {
    font-size: 15px;
    font-weight: 500;
}

/* =============================================
   GLOBAL LAYOUT HELPERS
   ============================================= */
.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-section {
    padding: 90px 0;
    color: var(--text);
}

.page-section.alt {
    background: var(--surface);
    color: var(--text);
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

/* =============================================
   PAGE HERO (subpages)
   ============================================= */
.page-hero {
    padding: 120px 0 70px;
    background: linear-gradient(135deg, #0a1a0a 0%, #1a2f1a 50%, #0f1f0f 100%);
    color: var(--text);
    text-align: center;
}

.page-hero h1 {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   SECTION HEADINGS
   ============================================= */
.section-heading {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
}

.section-subheading {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

/* =============================================
   GRID LAYOUTS
   ============================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* =============================================
   CARDS
   ============================================= */
.feature-card {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.feature-card .card-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: #0a1a0a !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--accent) !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid var(--accent);
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--accent);
    color: #0a1a0a !important;
    transform: translateY(-2px);
    text-decoration: none;
}

/* =============================================
   STEPS (How it works)
   ============================================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.step {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.step .step-num {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 12px;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.step p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* =============================================
   PRICING
   ============================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
    margin-top: 48px;
}

.pricing-card {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
    background: var(--surface2);
}

.pricing-card .badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent);
    color: #0a1a0a;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin: 16px 0 8px;
}

.price span {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-muted);
}

.price-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-card ul.features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.pricing-card ul.features li {
    font-size: 15px;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-card ul.features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.annual-note {
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.annual-note strong {
    color: var(--accent);
}

/* =============================================
   FAQ ACCORDION (plain CSS, no Bootstrap)
   ============================================= */
.faq-section {
    padding: 80px 0;
    background: var(--surface);
    color: var(--text);
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: var(--surface2);
    color: var(--text);
    border: none;
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover { background: var(--surface); }
.faq-question .faq-icon { font-size: 20px; color: var(--accent); }

.faq-answer {
    display: none;
    padding: 20px 24px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    background: var(--surface);
}

.faq-answer.open { display: block; }

/* =============================================
   TEAM
   ============================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.team-card {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 10%;
    margin: 0 auto 16px;
    display: block;
    border: 3px solid var(--accent);
}

.team-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.team-role {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.team-bio {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.team-email {
    font-size: 14px;
    color: var(--accent);
    text-decoration: none;
    word-break: break-all;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 56px;
    align-items: start;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    font-size: 16px;
    color: var(--text-muted);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-list li span.ci-icon {
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-form-wrap h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.contact-form .form-field {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-story .story-img {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface2);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 15px;
    text-align: center;
    padding: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.value-card {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.value-card .val-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}

.investor-box {
    background: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.investor-box .inv-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
}

.investor-box .inv-amount {
    font-size: 36px;
    font-weight: 900;
    color: var(--text);
}

.investor-box p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* =============================================
   BLOG LISTING
   ============================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.blog-card {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

.blog-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.blog-card a {
    text-decoration: none;
    color: inherit;
}

.blog-card-img {
    height: 200px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    padding: 16px;
}

.blog-card-body {
    padding: 24px;
}

.blog-card-body time {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.blog-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #0a1a0a 0%, #1a2f1a 80%);
    color: var(--text);
    text-align: center;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* =============================================
   FOOTER OVERRIDE
   ============================================= */
footer {
    background: #040d04 !important;
    color: var(--text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding: 60px 0 40px;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 8px;
}

.footer-brand .footer-address {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom-bar {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-bar p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom-bar a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom-bar a:hover {
    color: var(--accent);
}

/* =============================================
   COOKIE BANNER
   ============================================= */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 760px;
    background: var(--surface2);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    z-index: 9999;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
}

.cookie-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

#cookie-accept {
    padding: 10px 22px;
    background: var(--accent);
    color: #0a1a0a;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

#cookie-decline {
    padding: 10px 22px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* =============================================
   STATS BAR (homepage)
   ============================================= */
.stats-bar {
    background: var(--surface2);
    color: var(--text);
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-bar .stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-item p {
    font-size: 15px;
    color: var(--text-muted);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .page-hero h1 { font-size: 38px; }
    .section-heading { font-size: 30px; }
    .grid-3, .pricing-grid, .team-grid { grid-template-columns: 1fr; }
    .grid-2, .about-story, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .values-grid { grid-template-columns: 1fr; }
    .stats-bar .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom-bar { flex-direction: column; text-align: center; }
}
