/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* =====================================================
   AI PRODUCTIVITY SUITE DESIGN SYSTEM
   Custom UI Styles

   NAMING CONVENTION (BEM-ish):
   .aps-[block]                  block
   .aps-[block]__[element]       element
   .aps-[block]--[modifier]      modifier on block
   .l-[name]                     layout primitive (no visual)

   MIGRATION STATUS:
   Old class names kept as aliases — safe to remove from
   CSS once HTML templates are updated to BEM names.
===================================================== */


/* =====================================================
   DESIGN TOKENS
===================================================== */

:root {
    /* Spacing */
    --space-xs:  8px;
    --space-sm:  12px;
    --space-md:  20px;
    --space-lg:  40px;
    --space-xl:  80px;
    --space-2xl: 120px;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md:    0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-lg:    0 16px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.08);

    /* Brand */
    --color-brand:       #8224e3;
    --color-brand-mid:   #7b2cff;
    --color-brand-light: #a855f7;
    --color-brand-pink:  #d946ef;

    /* Text */
    --color-text-dark:   #0f172a;
    --color-text-muted:  #6b7280;
    --color-text-subtle: #94a3b8;

    /* Borders */
    --color-border:       rgba(0, 0, 0, 0.04);
    --color-border-hover: #e9d5ff;
}


/* =====================================================
   GLOBAL RESET
===================================================== */

body {
    background: #ffffff !important;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

section {
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

hr {
    height: 2px;
    background-color: var(--color-brand);
    border: none;
}


/* =====================================================
   UTILITY
===================================================== */

.hide-row {
    display: none !important;
}


/* =====================================================
   LAYOUT PRIMITIVES  (l- prefix = structure only)
===================================================== */

.l-section,
.aps-section {
    padding: var(--space-xl) var(--space-md);
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.l-container,
.aps-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.l-grid,
.aps-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.l-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}


/* =====================================================
   SECTION HEADER
===================================================== */

.aps-section__header,
.aps-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-xl);
}

.aps-section__title,
.aps-section-title {
    text-align: center;
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.aps-section__subtitle,
.aps-section-subtitle {
    text-align: center;
    font-size: clamp(16px, 2vw, 18px);
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto var(--space-xl);
}


/* =====================================================
   APS BUTTON SYSTEM
===================================================== */

.aps-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    padding: 16px 36px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 10px 24px rgba(130, 36, 227, 0.28);
}

.aps-button:hover {
    transform: translateY(-2px);
}

.aps-button--primary,
.aps-button-primary {
    background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.45);
    background-size: 200% 200%;
    animation: apsButtonGlow 6s ease infinite;
    transition: all 0.25s ease;
}

.aps-button--primary:hover,
.aps-button-primary:hover {
    box-shadow: 0 14px 35px rgba(168, 85, 247, 0.55);
}

.aps-button--secondary,
.aps-button-secondary {
    background-color: transparent;
    color: var(--color-brand-mid);
    border: 2px solid var(--color-brand-mid);
    transition: all 0.2s ease;
}

.aps-button--secondary:hover,
.aps-button-secondary:hover {
    background-color: rgba(123, 44, 255, 0.08);
}

.aps-button--outline,
.aps-button-outline {
    border: 1px solid #334155;
    color: #ffffff;
}

.aps-button--outline:hover,
.aps-button-outline:hover {
    background: #111827;
}

.aps-button--small,
.aps-button-small {
    padding: 10px var(--space-md);
    font-size: 14px;
}

@keyframes apsButtonGlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* =====================================================
   HERO SECTION
===================================================== */

.aps-hero {
    background:
        radial-gradient(circle at center, rgba(168, 85, 247, 0.15), transparent 60%),
        linear-gradient(135deg, #0f172a, #020617);
    color: #ffffff;
    text-align: center;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.aps-hero::before {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle,
        rgba(168, 85, 247, 0.35),
        rgba(217, 70, 239, 0.25),
        transparent 70%);
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(120px);
    animation: apsHeroGlow 14s ease-in-out infinite alternate;
    z-index: 0;
}

.aps-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
    z-index: 0;
}

.aps-hero * {
    position: relative;
    z-index: 1;
}

@keyframes apsHeroGlow {
    0%   { transform: translateX(-50%) translateY(-40px) scale(1); }
    100% { transform: translateX(-50%) translateY(40px) scale(1.1); }
}

.aps-hero-tag {
    display: inline-block;
    background: rgba(168, 85, 247, 0.1);
    color: var(--color-brand-light);
    font-weight: 600;
    font-size: 14px;
    padding: 6px var(--space-sm);
    border-radius: 999px;
    margin-bottom: var(--space-md);
}

.aps-label {
    color: #0ea5e9;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.aps-hero h1 {
    font-size: clamp(32px, 4vw, 44px);
    margin: var(--space-md) 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--color-brand-pink), var(--color-brand-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    position: relative;
}

.aps-hero h1::after {
    content: "";
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35), transparent 70%);
    filter: blur(28px);
    z-index: -1;
}

.aps-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    max-width: 720px;
    margin: 0 auto 28px auto;
    color: #cbd5e1;
    line-height: 1.6;
}

.aps-hero-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.aps-hero-trust {
    margin-top: 0;
    font-size: 15px;
    opacity: 0.95;
    text-align: center;
    font-weight: 500;
}

.aps-hero-trust span {
    margin: 0 4px;
}

.aps-hero-bridge {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-xl);
    margin-bottom: 0;
    letter-spacing: 0.6px;
}

.aps-hero-image-wrap {
    margin-top: var(--space-lg);
    display: flex;
    justify-content: center;
}

.aps-hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: block;
    transition: transform 0.3s ease;
}

.aps-hero-image:hover {
    transform: scale(1.01);
}


/* =====================================================
   BUTTON LAYOUT + FEATURE PILLS
===================================================== */

.aps-buttons {
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.aps-features {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--color-text-subtle);
    font-size: 14px;
}

.aps-features span::before {
    content: "• ";
    color: var(--color-brand);
}


/* =====================================================
   CARD SYSTEM
===================================================== */

/* BASE */
.aps-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.aps-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-hover);
}

.aps-card:hover .aps-feature__image img,
.aps-card:hover .aps-feature-image img {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

/* CARD HEADING */
.aps-card h3 {
    color: var(--color-brand);
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 700;
    margin: var(--space-sm) 0;
    line-height: 1.3;
}

/* MODIFIER — feature card */
.aps-card--feature,
.aps-feature-card {
    border-radius: var(--radius-md);
    padding: 35px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* MODIFIER — prompt/content (centered) */
.aps-card--prompt {
    text-align: center;
}

/* MODIFIER — step card visual */
.aps-card--step,
.aps-step {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 22px var(--space-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

.aps-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* SiteOrigin layout shell */
.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card .so-panel-widget:last-child {
    margin-top: auto;
}

.feature-card .so-widget-sow-image {
    margin: var(--space-md) 0 25px 0;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 10px;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
    max-width: 260px;
    margin: 0 auto 16px;
}

/* Legacy step-card (non-aps) */
.step-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
    transition: all 0.25s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


/* =====================================================
   CARD INTERNAL ELEMENTS
===================================================== */

.aps-card-top {
    display: flex;
    justify-content: space-between;
}

.aps-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-sm);
}

.aps-tag {
    font-size: 12px;
    color: var(--color-brand);
    font-weight: 600;
}

.aps-count,
.aps-small {
    font-size: 12px;
    color: var(--color-text-muted);
}

.aps-small {
    text-transform: uppercase;
}

.aps-badge {
    background: rgba(130, 36, 227, 0.1);
    color: var(--color-brand);
    padding: 6px var(--space-sm);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.aps-feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.aps-feature-header h2 {
    margin: 0;
    color: #c026d3;
}


/* =====================================================
   FEATURE ICON
===================================================== */

.aps-feature__icon,
.aps-feature-icon {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.aps-feature__icon img,
.aps-feature-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}


/* =====================================================
   FEATURE IMAGE
===================================================== */

.aps-feature__image,
.aps-feature-image {
    margin-top: 16px;
}

.aps-feature__image img,
.aps-feature-image img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    display: block;
    margin: 0 auto;
}


/* =====================================================
   FEATURE BLOCK — two-column image + content showcase
===================================================== */

.aps-feature__row,
.aps-feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: var(--space-xl);
}

.aps-feature--reverse .aps-feature__row,
.aps-feature-row.reverse {
    flex-direction: row-reverse;
}

.aps-feature__visual,
.aps-feature-visual {
    flex: 1;
    min-width: 0;
    background: #f9fafb;
    padding: 14px;
    border-radius: 14px;
}

.aps-feature__visual img,
.aps-feature-visual img {
    height: 320px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.02) saturate(1.02);
    transition: transform 0.3s ease;
    display: block;
}

.aps-feature__visual img:hover,
.aps-feature-visual img:hover {
    transform: scale(1.02);
}

.aps-feature__content,
.aps-feature-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.aps-feature__badge,
.aps-step-badge {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-brand-mid);
    margin-bottom: var(--space-xs);
    display: inline-block;
}

.aps-feature__content h3,
.aps-feature-content h3 {
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    line-height: 1.3;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--color-text-dark);
}

.aps-feature__content p,
.aps-feature-content p {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.aps-feature__content ul,
.aps-feature-content ul {
    padding-left: 18px;
    color: var(--color-text-muted);
}

.aps-feature__content li,
.aps-feature-content li {
    margin-bottom: 6px;
}


/* =====================================================
   STEPS GRID
===================================================== */

.aps-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: var(--space-lg);
    position: relative;
}

.aps-steps-grid::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #eee;
    z-index: 0;
}

.aps-step:nth-child(1) { animation-delay: 0.1s; }
.aps-step:nth-child(2) { animation-delay: 0.2s; }
.aps-step:nth-child(3) { animation-delay: 0.3s; }

.aps-step-number {
    width: 32px;
    height: 32px;
    background: var(--color-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: transform 0.2s ease;
}

.aps-step:hover .aps-step-number {
    transform: scale(1.15);
}

.aps-step h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 6px;
    margin-bottom: 6px;
}

.aps-step p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
    max-width: 260px;
    margin: 0 auto var(--space-sm);
}

.aps-step img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-top: 10px;
    display: block;
    opacity: 0.85;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }

.step-number {
    transition: transform 0.2s ease;
}

.step-card:hover .step-number {
    transform: scale(1.2);
}


/* =====================================================
   STEP DETAILED
===================================================== */

.aps-step-detailed {
    text-align: left;
    align-items: flex-start;
}

.aps-step-visual {
    margin: 15px 0;
    background: #f9fafb;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    width: 100%;
}

.aps-step-visual img {
    width: 100%;
    max-width: 260px;
    border-radius: var(--radius-sm);
    display: block;
    margin: 0 auto;
}

.aps-step-features {
    margin-top: 10px;
    padding-left: 18px;
    color: var(--color-text-muted);
    font-size: 14px;
}

.aps-step-features li {
    margin-bottom: 6px;
}


/* =====================================================
   SOCIAL PROOF / TESTIMONIALS
===================================================== */

.aps-social-proof {
    margin-top: var(--space-xl);
}

.aps-social-proof-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.aps-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 60px auto;
    align-items: stretch;
}

.aps-testimonial-item {
    display: flex;
    height: 100%;
}

.aps-testimonial-item > * {
    width: 100%;
    height: 100%;
}

.aps-testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px 26px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.aps-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.aps-testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.aps-testimonial-header img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.aps-testimonial-header strong {
    display: block;
    font-size: 15px;
    color: var(--color-text-dark);
}

.aps-testimonial-header span {
    font-size: 13px;
    color: var(--color-text-subtle);
}

.aps-testimonial-stars {
    margin: 8px 0 6px;
    font-size: 14px;
}

.aps-testimonial-card p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.65;
    color: #444;
}

.aps-testimonial-item.featured {
    grid-column: span 2;
}


/* =====================================================
   NEWSLETTER
===================================================== */

.aps-newsletter {
    background: #020617;
    color: #ffffff;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.aps-newsletter-form input {
    padding: var(--space-sm);
    width: 100%;
    border-radius: 9999px;
    border: none;
    margin-bottom: 10px;
}

.aps-newsletter-form button {
    background: #7c3aed;
    color: #ffffff;
    border: none;
    padding: var(--space-sm) 22px;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.aps-newsletter-form button:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}


/* =====================================================
   CHROME STORE BADGE
===================================================== */

.aps-badge-link {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 20;
}

.aps-chrome-badge {
    width: 200px;
    height: auto;
    display: block;
}

.aps-badge-link:hover .aps-chrome-badge {
    transform: scale(1.05);
}


/* =====================================================
   POPUP MAKER CONTENT RESET
===================================================== */

.pum-content {
    padding: 0 !important;
    overflow: hidden;
}


/* =====================================================
   LAYOUT UTILITIES
===================================================== */

.aps-section .panel-grid-cell {
    padding: 15px;
}

.btn-primary {
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}


/* =====================================================
   SECTION BRIDGE + INLINE CTA
===================================================== */

.section-bridge {
    text-align: center;
    font-size: 16px;
    color: var(--color-text-muted);
    margin: var(--space-lg) 0 10px;
    font-weight: 500;
    animation: fadeIn 0.8s ease;
}

.aps-inline-cta {
    text-align: center;
    margin: var(--space-lg) 0;
}

.aps-inline-cta a {
    font-weight: 600;
    color: #7c3aed;
    text-decoration: none;
    position: relative;
}

.aps-inline-cta a::after {
    content: "→";
    margin-left: 6px;
    transition: transform 0.2s ease;
    display: inline-block;
}

.aps-inline-cta a:hover::after {
    transform: translateX(4px);
}


/* =====================================================
   ANIMATIONS
===================================================== */

.aps-animate-fade-up,
.section-header {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 900px) {

    .l-grid,
    .aps-feature-grid {
        grid-template-columns: 1fr;
    }

    .aps-steps-grid {
        grid-template-columns: 1fr;
    }

    .aps-steps-grid::before {
        display: none;
    }

    .aps-feature--reverse .aps-feature__row,
    .aps-feature__row,
    .aps-feature-row,
    .aps-feature-row.reverse {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }

    .aps-feature__visual img,
    .aps-feature-visual img {
        height: auto;
    }

    .aps-feature__content,
    .aps-feature-content {
        text-align: center;
    }
}


/* =====================================================
   RESPONSIVE — MOBILE
===================================================== */

@media (max-width: 768px) {

    .aps-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

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

    .aps-features {
        gap: 10px;
        text-align: center;
    }

    .aps-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .aps-testimonial-item.featured {
        grid-column: span 1;
    }
}


/* =====================================================
   RESPONSIVE — SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .aps-hero-cta {
        gap: 10px;
    }

    .aps-hero-trust {
        font-size: 14px;
    }
}


/* =====================================================
   FEATURED CARD OVERRIDES
===================================================== */

.aps-card > .aps-button {
    align-self: flex-start;
}

.aps-feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.aps-feature-card .aps-feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-sm);
}


/* =====================================================
   CARD GRID — EQUAL HEIGHT FIX
===================================================== */

.aps-feature-grid {
    align-items: stretch;
}

.aps-feature-grid .so-panel,
.aps-feature-grid .textwidget,
.aps-feature-grid .custom-html-widget {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.aps-feature-grid .aps-card {
    flex: 1;
}


/* =====================================================
   CARD ROW — EQUAL HEIGHT (aps-cards-row)
===================================================== */

.aps-cards-row .panel-grid-cell {
    display: flex;
    flex-direction: column;
}

.aps-cards-row .widget_custom_html,
.aps-cards-row .so-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.aps-cards-row .textwidget.custom-html-widget {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.aps-cards-row .aps-card {
    flex: 1;
}