/* ============================
   InfoAgs.Marketing - site-wide
   ============================ */

/* Override: allow scrolling (Blazor locked the viewport) */
html {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: auto;
}
main {
    flex: 1 0 auto;
}

/* -- Spacing utility used for larger sections -- */
.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

/* -- Gradient accent text -- */
.mkt-text-gradient {
    background: linear-gradient(90deg, #0071c1, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==============================
   HERO
============================== */
.mkt-hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #f0f6ff 0%, #e8f5fb 60%, #f8f9fa 100%);
}
.mkt-hero-img-wrap img {
    transition: transform 0.4s ease;
}
.mkt-hero-img-wrap img:hover {
    transform: translateY(-6px) scale(1.01);
}

/* ==============================
   FEATURE CARDS
============================== */
.mkt-feature-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mkt-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 113, 193, 0.10);
    border-color: #bde0f5;
}
.mkt-feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #0071c1, #00bcd4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mkt-feature-icon i {
    font-size: 1.5rem;
    color: #fff;
}

/* ==============================
   HOW IT WORKS - step numbers
============================== */
.mkt-step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0071c1, #00bcd4);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0, 113, 193, 0.25);
}

/* ==============================
   CHECK LIST ICON
============================== */
.mkt-check-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #0071c1, #00bcd4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 0.85rem;
    margin-top: 2px;
}

/* ==============================
   FINAL CTA SECTION
============================== */
.mkt-cta-section {
    background: linear-gradient(135deg, #0071c1 0%, #005fa3 50%, #003a6b 100%);
}

/* ==============================
   CARD HOVER (global)
============================== */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-3px);
}

/* Rounded top corners for card-header inside rounded-4 card */
.rounded-top-4 {
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

/* -- Footer -- */
.ags-footer {
    background: #1a1d23;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 12px 24px;
    margin-top: auto;
}
.ags-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
}
.ags-footer-brand {
    font-size: 0.78rem;
    color: #9ca3af;
    font-weight: 500;
    white-space: nowrap;
}
.ags-footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.ags-footer-links a {
    font-size: 0.78rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}
.ags-footer-links a:hover {
    color: #e5e7eb;
}

/* ==============================
   CONTACT FORM (cc-* classes)
============================== */
.cc-input-group {
    position: relative;
    display: flex;
    flex-direction: column;
}
.cc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.cc-input-icon {
    position: absolute;
    left: 1rem;
    color: #6c757d;
    z-index: 2;
    transition: color 0.2s ease;
    pointer-events: none;
}
.cc-input {
    border-radius: 0.75rem;
    border: 2px solid #e9ecef;
    padding: 0.875rem 1rem 0.875rem 3rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background: #f8f9fa;
    width: 100%;
}
.cc-input:focus {
    border-color: #0071c1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 113, 193, 0.12);
    outline: none;
}
.cc-textarea {
    min-height: 140px;
    resize: vertical;
    align-self: stretch;
}
.cc-input-wrapper.textarea-wrapper {
    align-items: flex-start;
}
.cc-input-wrapper.textarea-wrapper .cc-input-icon {
    margin-top: 1rem;
}
.cc-validation {
    margin-left: 0.25rem;
}
.cc-button {
    background: linear-gradient(90deg, #0071c1, #00bcd4);
    border: none;
    box-shadow: 0 4px 14px rgba(0, 113, 193, 0.25);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cc-button:hover {
    box-shadow: 0 6px 20px rgba(0, 113, 193, 0.35);
    transform: translateY(-1px);
    background: linear-gradient(90deg, #005fa3, #00a3c4);
}
