:root {
    --appzky-blue: #0851ce;
    --appzky-blue-dark: #00348d;
    --appzky-blue-deep: #001f53;
    --appzky-navy: #011437;
    --appzky-indigo: #003399;
    --appzky-surface: #f4f6ff;
    --appzky-surface-alt: #d4dffc;
    --appzky-text: #333;
    --appzky-text-muted: #666;
    --appzky-radius-lg: 20px;
    --appzky-radius-pill: 28px;
    --appzky-shadow-soft: 0 12px 40px rgba(8, 81, 206, 0.08);
    --appzky-shadow-card: 0 8px 30px rgba(8, 81, 206, 0.06);
}

/* ----- Shared buttons ----- */
.section-2-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 255px;
    min-height: 64px;
    padding: 14px 28px;
    text-align: center;
    color: #fff !important;
    background: linear-gradient(90deg, var(--appzky-blue) 0%, var(--appzky-blue-dark) 100%);
    border: 0;
    border-radius: 35px;
    margin-top: 20px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(8, 81, 206, 0.25);
}

.section-2-button:hover {
    background: linear-gradient(90deg, #0640a8 0%, #002a6e 100%);
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(8, 81, 206, 0.35);
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* ----- Landing hero ----- */
.landing-hero-row {
    margin-left: 5%;
    margin-top: 3rem;
}

.hero-cta-card {
    background: #fff;
    border-radius: var(--appzky-radius-lg);
    padding: 32px 26px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--appzky-shadow-soft);
}

.hero-cta-eyebrow {
    color: var(--appzky-blue);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.hero-cta-plan-name {
    color: var(--appzky-blue);
    font-weight: 500;
    font-size: 28px;
    margin-bottom: 8px;
}

.hero-cta-price {
    margin-bottom: 8px;
}

.hero-cta-price-amount {
    color: var(--appzky-blue);
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
}

.hero-cta-price-term {
    color: #0044ff;
    font-size: 18px;
    margin-left: 4px;
}

.hero-cta-trial {
    color: var(--appzky-text-muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.hero-cta-subtext {
    color: #444;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.hero-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.hero-cta-primary,
.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--appzky-radius-pill);
    padding: 14px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-cta-primary {
    background: var(--appzky-blue);
    color: #fff !important;
    border: none;
}

.hero-cta-primary:hover {
    background: #0640a8;
    color: #fff !important;
    text-decoration: none;
}

.hero-cta-secondary {
    background: transparent;
    color: var(--appzky-blue) !important;
    border: 2px solid var(--appzky-blue);
}

.hero-cta-secondary:hover {
    background: #f4f8ff;
    text-decoration: none;
}

.hero-cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--appzky-text);
    font-size: 14px;
}

.hero-cta-benefits li {
    margin-bottom: 8px;
}

.hero-cta-benefits i {
    color: var(--appzky-blue);
    margin-right: 8px;
}

.landing-mobile-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: #fff;
    border-top: 1px solid #e5e9f2;
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.landing-mobile-cta a {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--appzky-blue);
    color: #fff !important;
    border-radius: var(--appzky-radius-pill);
    padding: 14px 20px;
    font-weight: 600;
    text-decoration: none;
}

/* ----- Newsletter ----- */
.newsletter-band {
    background-color: #2047bb;
    border-radius: 30px;
    color: #fff;
    padding: 30px 24px;
}

.newsletter-band h2 {
    text-align: start;
    margin-bottom: 0;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1 1 220px;
    min-width: 0;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    padding: 11px 20px;
}

.newsletter-form button {
    border-radius: 30px;
    background-color: var(--appzky-navy);
    border-color: var(--appzky-navy);
    padding: 11px 32px;
    white-space: nowrap;
}

/* ----- Integrations grid ----- */
.single-logo {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: -1rem 1.2rem 3.5rem rgba(85, 141, 250, 0.18);
    transition: all 0.3s;
}

.single-logo:hover {
    transform: translateY(-4px);
}

/* ----- Checkout page ----- */
.checkout-page {
    background: var(--appzky-surface);
}

.checkout-panel {
    background: #fff;
    border-radius: var(--appzky-radius-lg);
    box-shadow: var(--appzky-shadow-card);
    padding: 28px 24px;
    height: 100%;
}

.checkout-plan-badge {
    display: inline-block;
    background: #eef3ff;
    color: var(--appzky-blue);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.checkout-plan-price {
    color: var(--appzky-blue);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4px;
}

.checkout-plan-term {
    color: var(--appzky-text-muted);
    font-size: 16px;
    margin-bottom: 20px;
}

.checkout-section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--appzky-blue-deep);
    margin-bottom: 20px;
}

.checkout-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.checkout-feature-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--appzky-blue), var(--appzky-blue-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.checkout-feature h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--appzky-blue-deep);
}

.checkout-feature p {
    color: var(--appzky-text-muted);
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
}

.buy-plan-form .form-control,
.buy-plan-form #card-element {
    box-shadow: none !important;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

.buy-plan-form #card-element {
    padding: 15px 20px;
}

.buy-plan-form .main-button,
.buy-plan-form #form-submit {
    width: 100%;
    border-radius: var(--appzky-radius-pill);
    font-weight: 600;
    padding: 14px 24px;
}

.checkout-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--appzky-text-muted);
    font-size: 13px;
    margin-top: 8px;
}

.checkout-trust i {
    color: var(--appzky-blue);
}

/* ----- 3DS confirm ----- */
.checkout-confirm-page {
    background: var(--appzky-surface);
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 40px 16px;
}

.checkout-confirm-container {
    max-width: 520px;
    margin: 0 auto;
    padding: 36px 32px;
    background: #fff;
    border-radius: var(--appzky-radius-lg);
    box-shadow: var(--appzky-shadow-card);
    text-align: center;
}

.checkout-confirm-container .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--appzky-blue);
}

.checkout-confirm-retry {
    display: none;
    border-radius: var(--appzky-radius-pill);
    background: var(--appzky-blue);
    border-color: var(--appzky-blue);
    padding: 12px 28px;
    font-weight: 600;
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
    .landing-hero-row {
        margin-left: 0;
        margin-top: 1rem;
    }

    .hero-cta-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .home-hero-dashboard {
        margin-bottom: 24px;
    }

    .checkout-panel {
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .landing-mobile-cta {
        display: block;
    }

    .welcome-area {
        padding-bottom: 80px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
    }

    .section-2-button {
        width: 100%;
        max-width: 320px;
    }
}

/* ----- Batch 8: Landing section polish ----- */
.section-testimonials {
    padding: 80px 0 !important;
    background: #fff;
}

.section-testimonials .section-2-text {
    color: #444;
    margin-bottom: 2rem;
}

.user-initials {
    background: var(--appzky-blue) !important;
}

.testimonial-swiper .swiper-slide {
    padding: 12px;
}

.section-blog {
    min-height: auto !important;
    padding-bottom: 80px;
}

.platform-card {
    margin: 10px;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(8, 81, 206, 0.12);
    text-decoration: none;
    color: inherit;
}

.platform-card .card-body {
    padding: 1.25rem;
}

.platform-card .card-title {
    color: var(--appzky-blue-deep);
    font-weight: 600;
}

.pricing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.integrations-section {
    background-color: #fff;
    margin: 7rem 0;
    padding-bottom: 2rem;
}

.integration-logo-img {
    width: auto;
    height: 50px;
}

/* ----- Batch 9: Sub-pages ----- */
.sub-page-header {
    margin-top: 0 !important;
    padding-top: 2.25rem !important;
    padding-bottom: 1.75rem !important;
}

.sub-page-header p {
    margin-bottom: 0.5rem;
}

.subpage-intro {
    background: #fff;
    min-height: auto !important;
    padding: 2rem 0 !important;
}

.subpage-intro-row {
    --subpage-gutter: clamp(1.25rem, 4vw, 2.5rem);
}

.subpage-intro-col--media {
    padding-right: var(--subpage-gutter);
    padding-left: 0;
}

.subpage-intro-col--content {
    padding-left: var(--subpage-gutter);
    padding-right: 0;
    max-width: 540px;
}

.subpage-hero-img {
    width: 100%;
    max-width: 460px;
    display: block;
    margin: 0 auto;
}

.subpage-intro-heading {
    position: relative;
    text-align: left;
    margin-bottom: 1.25rem;
}

.subpage-intro .section-3-right-title {
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    line-height: 1.25;
    font-weight: 800;
    display: inline-block;
}

.subpage-intro .section-3-right-title:before {
    width: 72px;
    left: 0;
    bottom: 0;
}

.subpage-cta {
    display: flex;
    justify-content: flex-start;
    margin-top: 1rem;
}

.subpage-intro .section-2-button {
    width: auto;
    min-width: 220px;
    max-width: 100%;
    height: auto;
    min-height: 56px;
    font-size: 18px;
    margin-top: 0;
}

.subpage-checklist {
    margin: 0;
    padding: 0;
}

.subpage-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 1rem;
    list-style: none;
}

.subpage-checklist li:last-child {
    padding-bottom: 0;
}

.subpage-checklist .info_icon {
    flex-shrink: 0;
    padding-top: 4px;
}

.subpage-checklist .info_icon img {
    height: 30px;
    width: auto;
    max-width: 30px;
    display: block;
}

.subpage-intro .info_text {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.55;
}

.subpage-checklist .clear {
    display: none;
}

.subpage-intro + section {
    padding-top: 2rem !important;
}

/* ----- Batch 10: Thank-you + customer portal accents ----- */
.thankyou-page {
    background: var(--appzky-surface);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.thankyou-container {
    max-width: 600px;
    width: 100%;
    padding: 36px 32px;
    background: #fff;
    border-radius: var(--appzky-radius-lg);
    box-shadow: var(--appzky-shadow-card);
    text-align: center;
}

.thankyou-container h1 {
    color: var(--appzky-blue);
    font-weight: 700;
}

.thankyou-container .btn-appzky {
    background: var(--appzky-blue);
    border-color: var(--appzky-blue);
    border-radius: var(--appzky-radius-pill);
    padding: 12px 28px;
    font-weight: 600;
    color: #fff;
}

.thankyou-container .btn-appzky:hover {
    background: #0640a8;
    border-color: #0640a8;
    color: #fff;
}

.thankyou-container .btn-appzky-outline {
    background: transparent;
    border: 2px solid var(--appzky-blue);
    color: var(--appzky-blue);
    border-radius: var(--appzky-radius-pill);
    padding: 10px 24px;
    font-weight: 600;
    margin-left: 8px;
}

.customer-brand-title {
    color: var(--appzky-blue) !important;
    font-weight: 700 !important;
}

.customer-portal-card {
    border-radius: var(--appzky-radius-lg);
    box-shadow: var(--appzky-shadow-card);
    border: none;
}

.customer-billing-page .customer-back-btn {
    border-color: var(--appzky-blue);
    color: var(--appzky-blue);
}

.customer-billing-page .customer-back-btn:hover {
    background: var(--appzky-blue);
    color: #fff;
}

.customer-billing-summary {
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 0.5rem;
}

.customer-billing-empty {
    background: #eef3ff !important;
    border: none;
    color: var(--appzky-blue-deep);
}

.customer-billing-table thead th {
    background: #f8faff;
    color: var(--appzky-blue-deep);
    font-weight: 600;
    border-bottom-width: 1px;
}

.customer-billing-table td,
.customer-billing-table th {
    vertical-align: middle;
}

.inner-card-layouts {
    height: 750px;
    padding: 20px;
}

.inner-card-layouts img {
    height: 450px;
    width: 100%;
    object-fit: fill;
}

.description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .subpage-intro-col--media,
    .subpage-intro-col--content {
        padding-left: 0;
        padding-right: 0;
        max-width: none;
    }

    .subpage-intro-col--media {
        margin-bottom: 2rem;
    }

    .subpage-intro-heading {
        text-align: center;
    }

    .subpage-intro .section-3-right-title:before {
        left: 50%;
        transform: translateX(-50%);
    }

    .subpage-cta {
        justify-content: center;
    }

    .pricing-toggle-wrap {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Conversion plan: header CTA, FAQ, final CTA */
.header-cta-btn {
    display: inline-block;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #0851ce;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
}

.header-cta-btn:hover {
    background: #063a94;
    color: #fff !important;
    text-decoration: none;
}

.home-faq-section {
    background: #f4f6ff;
    padding: 4rem 0;
}

.home-faq-question {
    color: #0c4bc0;
    font-weight: 600;
    text-decoration: none !important;
    padding: 1rem 1.25rem;
    width: 100%;
}

.home-faq-answer {
    color: #333;
    line-height: 1.6;
}

.home-final-cta {
    background: #fff;
    padding: 4rem 0 5rem;
}

.pricing-local-secondary {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 4px;
}
