:root {
    --primary-color: #0052cc;
    --secondary-color: #253858;
    --accent-color: #36b37e;
    --text-color: #172b4d;
    --muted-text: #5e6c84;
    --light-gray: #f4f5f7;
    --border: #e9edf2;
    --white: #ffffff;
    --container: 1100px;
}

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

body {
    font-family:
        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
        Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

/* Layout helpers */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 56px 0;
    background: var(--white);
}

.section--muted {
    background: #fbfcfe;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 5%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-text img {
    height: 28px;
    width: auto;
    display: block;
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

/* Force nav CTA to be styled as a button */
.nav-links a.cta-button {
    background: var(--primary-color);
    color: #ffffff !important;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
}
.nav-links a.cta-button:hover {
    background: #0043a4;
    color: #ffffff !important;
}

.cta-small {
    padding: 8px 14px;
    font-size: 0.95rem;
    border-radius: 6px;
}

/* Buttons */
.cta-button {
    background: var(--primary-color);
    color: #ffffff;
    border: 1px solid transparent;
    padding: 12px 18px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.cta-button:hover {
    background: #0043a4;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 82, 204, 0.18);
}

/* Hero */
.hero {
    padding: 130px 0 48px;
    background: var(--white);
}

.hero--minimal .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fafbff;
}

.hero-content h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

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

.hero-ctas {
    display: flex;
    gap: 12px;
}

/* WHAT YOU CAN DO section */
.stack {
    display: grid;
    grid-template-columns: 1fr; /* one card per row */
    gap: 24px;
}

.stack-card {
    display: flex;
    flex-direction: column; /* text above image */
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.stack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(23, 43, 77, 0.08);
}

.stack-body {
    padding: 20px;
    text-align: center;
}

.stack-body h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.stack-body p {
    font-size: 1rem;
    color: var(--text-color);
}

.stack-media {
    padding: 0 20px 20px; /* same margin as text */
}

.stack-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fafbff;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.stack-card:hover .stack-media img {
    transform: scale(1.03);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Pricing & Contact panels */
.panel {
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    font-size: 1.05rem;
}

.panel a {
    color: var(--primary-color);
    text-decoration: none;
}
.panel a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--white);
    padding: 32px 0 16px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.footer-logo .logo-text {
    font-size: 20px;
}
.footer-logo img {
    height: 24px;
    width: auto;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 18px;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 12px;
    color: var(--muted-text);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero--minimal .hero__inner {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
}

/* --- What you can do: smaller image + text ABOVE image --- */

/* If you're using the new .stack markup */
.stack-card {
    display: flex;
    flex-direction: column;
}
.stack-body {
    order: -1; /* move text block above the image */
    padding: 20px;
    text-align: center;
}
.stack-media {
    padding: 0 20px 20px; /* same page margin */
    display: flex;
    justify-content: center; /* center the image */
}
.stack-media img {
    width: 100%;
    max-width: 800px; /* ↓ reduce image size */
    height: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
}

/* If you're still on the original .feature-card markup (img, then h3, p) */
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.feature-card h3,
.feature-card p {
    order: -1; /* put title/desc above the image */
    margin-left: 20px;
    margin-right: 20px;
}
.feature-card img {
    order: 0;
    width: 100%;
    max-width: 800px; /* ↓ reduce image size */
    height: auto;
    margin: 12px 20px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fafbff;
}
