/* =========================================================================
   AEC Landing Page — AI Enjoy Club
   Inspired by: rounded curves, warm palette, character-on-curve layout
   ========================================================================= */

/* --- Reset & Base --- */
body.page-template-page-aec {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Noto Sans JP', sans-serif;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    background: #F7F5F0;
}

.sp-only { display: none; }
@media (max-width: 768px) { .sp-only { display: inline; } }

/* --- Container --- */
.aec-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Section Base --- */
.aec-section {
    padding: 5rem 0;
    position: relative;
}

.aec-section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.5;
}

.aec-section-title em {
    font-style: normal;
    color: #4A6CF7;
}

/* Override global section border from style.css */
body.page-template-page-aec section {
    border-top: none;
}


/* --- Curved Dividers --- */
.aec-curve {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    z-index: 3;
}

.aec-curve svg {
    display: block;
    width: 100%;
    height: 80px;
}

.aec-curve--hero {
    bottom: -2px;
}

.aec-curve--to-dark {
    bottom: -2px;
}

.aec-curve--from-dark {
    bottom: -2px;
}

.aec-curve--final {
    top: -2px;
}

/* =========================================================================
   LP HEADER — Sticky
   ========================================================================= */
.aec-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    transition: background 0.3s, box-shadow 0.3s;
}

.aec-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.aec-header__logo {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.15);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.aec-header__logo:hover {
    opacity: 1;
}

.aec-header__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Burger */
.aec-header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 101;
}

.aec-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.aec-header__burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.aec-header__burger.is-open span:nth-child(2) {
    opacity: 0;
}

.aec-header__burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Nav Overlay */
.aec-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
}

.aec-nav.is-open {
    transform: translateX(0);
}

.aec-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.aec-nav__list li {
    margin-bottom: 1.5rem;
}

.aec-nav__list a {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.aec-nav__list a:hover {
    color: #4A6CF7;
}

.aec-nav__cta {
    font-size: 0.9rem;
    padding: 12px 28px;
}

.aec-nav__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.aec-nav__back:hover {
    color: #4A6CF7;
}

/* =========================================================================
   HERO
   ========================================================================= */
.aec-hero {
    background-image: url('../images/LP/img-aec-fv-pc.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: #D6E8F0;
    text-align: left;
    padding: 5rem 2rem 10rem;
    position: relative;
    overflow: visible;
    color: #1a1a1a;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.aec-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin-left: max(2rem, calc((100% - 1100px) / 2));
}

.aec-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 108, 247, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #4A6CF7;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(74, 108, 247, 0.2);
}

.aec-hero-badge i {
    font-size: 1.1em;
}

.aec-hero-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.aec-hero-title em {
    font-style: normal;
    font-size: 1.6em;
    background: linear-gradient(135deg, #FC0FC0 0%, #E600A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    display: inline-block;
    line-height: 1.1;
    transform: translateY(4px);
    margin: 0 4px;
}

.aec-hero-sub {
    font-size: 0.95rem;
    line-height: 2;
    color: #555;
    margin-bottom: 2.5rem;
}

/* Hero badges list */
.aec-hero-badges {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 1.25rem;
    list-style: none;
    padding: 0;
}

.aec-hero-badges li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #777;
}

.aec-hero-badges li i {
    color: #4A6CF7;
    font-size: 0.85rem;
}

.aec-hero-badges--dark li {
    color: #999;
}

.aec-hero-badges--dark li i {
    color: #8BA4FF;
}

/* =========================================================================
   CTA BUTTON
   ========================================================================= */
.aec-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FC0FC0, #E600A6);
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 18px 44px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(252, 15, 192, 0.35);
    position: relative;
    overflow: hidden;
}

.aec-cta-btn i {
    font-size: 1.3em;
}

.aec-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: cta-shimmer 3s ease-in-out infinite;
}

@keyframes cta-shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.aec-cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 32px rgba(252, 15, 192, 0.45);
    opacity: 1;
}

.aec-cta-btn--large {
    font-size: 1.25rem;
    padding: 22px 52px;
}

/* =========================================================================
   PAIN SECTION
   ========================================================================= */
.aec-pain {
    background: #F7F5F0;
    padding-top: 4rem;
}

.aec-pain .aec-section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 4.5vw, 2.4rem);
}

.aec-pain-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 660px;
    margin: 0 auto;
}

.aec-pain-item {
    background: #fff;
    border: 2px solid #1a1a1a;
    border-right-width: 5px;
    border-bottom-width: 5px;
    border-radius: 16px;
    padding: 1.6rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.aec-pain-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.aec-pain-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.aec-pain-item:nth-child(2) { transition-delay: 0.1s; }
.aec-pain-item:nth-child(3) { transition-delay: 0.2s; }
.aec-pain-item:nth-child(4) { transition-delay: 0.3s; }

.aec-pain-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #FFF0E6, #FFE0CC);
    border-radius: 14px;
    color: #E65100;
    font-size: 1.4rem;
    border: 2px solid #E65100;
}

.aec-pain-item p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.85;
    color: #333;
    text-align: left;
    margin: 0;
}

.aec-pain-item strong {
    color: #C62828;
    font-weight: 700;
    background: linear-gradient(transparent 60%, rgba(198, 40, 40, 0.12) 60%);
}

.aec-pain-outro {
    text-align: center;
    margin-top: 3rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.8;
    position: relative;
}

.aec-pain-outro::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #E65100, #FF8A50);
    border-radius: 3px;
    margin: 1.2rem auto 0;
}

/* =========================================================================
   BRIDGE SECTION
   ========================================================================= */
.aec-bridge {
    background: #F7F5F0;
    padding: 3rem 0 8rem;
    position: relative;
}

.aec-bridge-text {
    text-align: center;
    font-size: 1.15rem;
    line-height: 2.2;
    color: #666;
    max-width: 520px;
    margin: 0 auto;
}

.aec-bridge-text strong {
    color: #1a1a1a;
    font-size: 1.25rem;
}

/* =========================================================================
   SOLUTION SECTION
   ========================================================================= */
.aec-solution {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 5rem 0 7rem;
    position: relative;
}

.aec-solution-label {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 0.5rem;
    letter-spacing: 0.15em;
}

.aec-solution-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 7vw, 4rem);
    line-height: 1.3;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #6B8AFF, #A5B4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.aec-solution-desc {
    font-size: 1rem;
    line-height: 2.2;
    color: #aaa;
    max-width: 560px;
    margin: 0 auto;
}

.aec-solution-desc strong {
    color: #fff;
}

/* =========================================================================
   BENEFITS SECTION
   ========================================================================= */
.aec-benefits {
    background: #fff;
}

.aec-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.aec-benefit-card {
    background: #F7F5F0;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s;
}

.aec-benefit-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.aec-benefit-card:nth-child(2) { transition-delay: 0.15s; }
.aec-benefit-card:nth-child(3) { transition-delay: 0.3s; }

.aec-benefit-card:hover {
    box-shadow: 0 8px 28px rgba(74, 108, 247, 0.1);
}

.aec-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #4A6CF7, #6B8AFF);
    border-radius: 20px;
    color: #fff;
    font-size: 1.5rem;
}

.aec-benefit-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 1.6;
}

.aec-benefit-card p {
    font-size: 0.85rem;
    line-height: 1.9;
    color: #777;
}

/* =========================================================================
   BONUS — Lead Magnet Section
   ========================================================================= */
.aec-bonus {
    background: #fff;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.aec-bonus-card {
    position: relative;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    border-radius: 20px;
    padding: 2.5rem;
    color: #fff;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(48, 43, 99, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1);
}

.aec-bonus-card::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 108, 247, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.aec-bonus-card::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.aec-bonus-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 50px;
    animation: badge-pulse 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 4px rgba(245, 158, 11, 0.2); }
}

.aec-bonus-card__inner {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.aec-bonus-card__icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A6CF7, #7c3aed);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(74, 108, 247, 0.3);
}

.aec-bonus-card__label {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    color: #a78bfa;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.aec-bonus-card__title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.aec-bonus-card__subtitle {
    font-size: 0.9rem;
    color: #c4b5fd;
    margin-bottom: 1rem;
    font-weight: 700;
}

.aec-bonus-card__desc {
    font-size: 0.85rem;
    line-height: 1.9;
    color: #d1d5db;
    margin-bottom: 1.2rem;
}

.aec-bonus-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.aec-bonus-card__features li {
    font-size: 0.8rem;
    font-weight: 700;
    color: #e0e7ff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.aec-bonus-card__features li i {
    color: #34d399;
    font-size: 0.75rem;
}

.aec-bonus-card__note {
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.aec-bonus-card__note i {
    color: #60a5fa;
    margin-right: 4px;
}

/* Deco for bonus section */
.aec-deco--bonus {
    position: absolute;
    bottom: 40px;
    right: calc(50% - 380px);
    z-index: 10;
}

.aec-deco--bonus img {
    width: 85px;
    opacity: 0.12;
}

/* Final CTA bonus text */
.aec-final-bonus {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fbbf24;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.aec-final-bonus i {
    margin-right: 6px;
    animation: badge-pulse 2s ease-in-out infinite;
}

/* =========================================================================
   CTA MID — Rich Card
   ========================================================================= */
.aec-cta-mid {
    background: #F7F5F0;
    padding: 2rem 0 4rem;
}

.aec-cta-card {
    background: linear-gradient(160deg, #1E2033 0%, #2A2D45 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.aec-cta-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 108, 247, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.aec-cta-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(6, 199, 85, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.aec-cta-card__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.aec-cta-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.aec-cta-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aec-cta-card__header-text {
    text-align: left;
}

.aec-cta-card__label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #06C755;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aec-cta-card__name {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
    margin-top: 2px;
}

.aec-cta-card__message {
    font-size: 0.95rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.aec-cta-card__badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.aec-cta-card__badges span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
    padding: 6px 12px;
    border-radius: 50px;
}

.aec-cta-card__badges span i {
    color: #06C755;
    font-size: 0.7rem;
}

.aec-cta-btn--card {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    font-size: 1.15rem;
    padding: 18px 0;
    position: relative;
    z-index: 1;
}

.aec-cta-card__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.aec-cta-card__step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
}

.aec-cta-card__step span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
}

.aec-cta-card__step-arrow {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.2);
}

/* =========================================================================
   TOPICS SECTION
   ========================================================================= */
.aec-topics {
    background: #fff;
    padding-top: 4rem;
}

.aec-topic-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.aec-topic-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F0F3FF;
    border: 1px solid #D6DFFF;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #4A6CF7;
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.aec-topic-tag i {
    font-size: 0.85em;
    opacity: 0.6;
}

.aec-topic-tag.is-visible {
    opacity: 1;
    transform: scale(1);
}

.aec-topic-tag:nth-child(2) { transition-delay: 0.05s; }
.aec-topic-tag:nth-child(3) { transition-delay: 0.1s; }
.aec-topic-tag:nth-child(4) { transition-delay: 0.15s; }
.aec-topic-tag:nth-child(5) { transition-delay: 0.2s; }
.aec-topic-tag:nth-child(6) { transition-delay: 0.25s; }
.aec-topic-tag:nth-child(7) { transition-delay: 0.3s; }
.aec-topic-tag:nth-child(8) { transition-delay: 0.35s; }

/* =========================================================================
   VOICE — Chat Style
   ========================================================================= */
.aec-voice {
    background: #fff;
}

.aec-voice .aec-container {
    max-width: 600px;
}

.aec-chat {
    margin: 0 auto 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px dashed #ddd;
}

.aec-chat:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.aec-chat__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}

.aec-chat__row:last-child {
    margin-bottom: 0;
}

/* Host: avatar left, bubble right — left-aligned */
.aec-chat__row--host {
    flex-direction: row;
    justify-content: flex-start;
}

/* Guest: bubble left, avatar right — right-aligned */
.aec-chat__row--guest {
    flex-direction: row;
    justify-content: flex-end;
}

.aec-chat__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e0e0e0;
    background: #f5f5f5;
}

.aec-chat__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aec-chat__bubble {
    background: #fff;
    border: 2px solid #1a1a1a;
    border-radius: 18px;
    border-top-left-radius: 4px;
    padding: 14px 18px;
    max-width: 420px;
    box-shadow: 3px 3px 0 #1a1a1a;
    position: relative;
}

.aec-chat__bubble--guest {
    background: #FFF9E0;
    border-radius: 18px;
    border-top-right-radius: 4px;
}

.aec-chat__name {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #999;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.aec-chat__bubble p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.aec-chat__bubble p strong {
    color: #1a1a1a;
    background: linear-gradient(transparent 60%, rgba(255, 230, 0, 0.35) 60%);
}

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.aec-about {
    background: #F7F5F0;
}

.aec-about-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.aec-about-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #4A6CF7;
}

.aec-about-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aec-about-body h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.aec-about-role {
    font-size: 0.8rem;
    color: #4A6CF7;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.aec-about-text {
    font-size: 0.88rem;
    line-height: 1.9;
    color: #666;
}

.aec-about-text strong {
    color: #1a1a1a;
}

/* =========================================================================
   FAQ SECTION
   ========================================================================= */
.aec-faq {
    background: #F7F5F0;
}

.aec-faq-list {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 0.5rem 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.aec-faq-item {
    border-bottom: 1px solid #F0EDE8;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.aec-faq-item:last-child {
    border-bottom: none;
}

.aec-faq-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.aec-faq-item:nth-child(2) { transition-delay: 0.05s; }
.aec-faq-item:nth-child(3) { transition-delay: 0.1s; }
.aec-faq-item:nth-child(4) { transition-delay: 0.15s; }
.aec-faq-item:nth-child(5) { transition-delay: 0.2s; }
.aec-faq-item:nth-child(6) { transition-delay: 0.25s; }

.aec-faq-item summary {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1.25rem 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a1a1a;
    transition: color 0.2s;
}

.aec-faq-item summary::before {
    content: 'Q.';
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #4A6CF7;
    flex-shrink: 0;
}

.aec-faq-item summary::after {
    content: '+';
    margin-left: auto;
    font-size: 1.4rem;
    color: #ccc;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.aec-faq-item[open] summary::after {
    transform: rotate(45deg);
    color: #4A6CF7;
}

.aec-faq-item summary::-webkit-details-marker {
    display: none;
}

.aec-faq-item p {
    padding: 0 0 1.25rem 2rem;
    font-size: 0.88rem;
    line-height: 1.9;
    color: #777;
}

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.aec-final-cta {
    background: linear-gradient(160deg, #1a1a1a 0%, #2D3047 100%);
    color: #fff;
    text-align: center;
    padding: 7rem 0 5rem;
    position: relative;
}

.aec-final-cta .aec-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aec-final-cta .aec-hero-badges {
    justify-content: center;
}

.aec-final-character {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.2);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.aec-final-character img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aec-final-title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.aec-final-title em {
    font-style: normal;
    background: linear-gradient(transparent 50%, rgba(255, 230, 0, 0.5) 50%);
}

.aec-final-desc {
    font-size: 1rem;
    line-height: 2;
    color: #999;
    margin-bottom: 2.5rem;
}

/* =========================================================================
   DECORATIVE CHARACTERS + SPEECH BUBBLES
   ========================================================================= */
.aec-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aec-deco img {
    display: block;
}

.aec-deco__bubble {
    background: #fff;
    color: #555;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 20px;
    border: 2px solid #1a1a1a;
    box-shadow: 3px 3px 0 #1a1a1a;
    position: relative;
    margin-bottom: 10px;
    white-space: nowrap;
}

.aec-deco__bubble::before {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid #1a1a1a;
}

.aec-deco__bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #fff;
}

/* --- Pain: Owl, center-right --- */
.aec-pain {
    position: relative;
    overflow: hidden;
}

.aec-deco--pain {
    bottom: 1.5rem;
    right: calc(50% - 340px);
}

.aec-deco--pain img {
    width: 100px;
    opacity: 0.15;
}

/* --- Bridge: Husky, center-left --- */
.aec-bridge {
    overflow: hidden;
}

.aec-deco--bridge {
    bottom: 5rem;
    left: calc(50% - 320px);
}

.aec-deco--bridge img {
    width: 90px;
    opacity: 0.15;
    transform: scaleX(-1);
}

/* --- Topics: Croc, center-right --- */
.aec-topics {
    position: relative;
    overflow: hidden;
}

.aec-deco--topics {
    bottom: 1.5rem;
    right: calc(50% - 340px);
}

.aec-deco--topics img {
    width: 85px;
    opacity: 0.15;
}

/* --- Benefits: Boy, center-left --- */
.aec-benefits {
    position: relative;
    overflow: hidden;
}

.aec-deco--benefits {
    bottom: 1.5rem;
    left: calc(50% - 450px);
}

.aec-deco--benefits img {
    width: 90px;
    opacity: 0.12;
}

/* --- About: Horse, center-right --- */
.aec-about {
    position: relative;
    overflow: hidden;
}

.aec-deco--about {
    bottom: 1rem;
    right: calc(50% - 300px);
}

.aec-deco--about img {
    width: 80px;
    opacity: 0.12;
}

/* --- FAQ: Cat, center-right (below content) --- */
.aec-faq {
    position: relative;
    overflow: hidden;
}

.aec-deco--faq {
    bottom: 1rem;
    right: calc(50% - 340px);
}

.aec-deco--faq img {
    width: 80px;
    opacity: 0.10;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.aec-footer {
    text-align: center;
    padding: 2rem;
    background: #111;
    color: #555;
    font-size: 0.75rem;
}

.aec-footer a {
    color: #777;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 768px) {
    .aec-section {
        padding: 3.5rem 0;
    }

    .aec-hero {
        padding: 3rem 1.5rem 14rem;
        background-image: url('../images/LP/img-aec-fv-sp.png');
        background-position: right bottom;
        background-size: cover;
        min-height: auto;
        text-align: center;
    }

    .aec-hero-inner {
        max-width: 100%;
        margin-left: 0;
    }

    .aec-hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
        margin-bottom: 1.25rem;
    }

    .aec-hero-title {
        font-size: 1.5rem;
    }

    .aec-hero-sub {
        font-size: 0.82rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .aec-hero-badges {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .aec-hero-badges li {
        font-size: 0.7rem;
    }

    .aec-curve svg {
        height: 50px;
    }

    .aec-cta-btn {
        font-size: 1rem;
        padding: 14px 32px;
    }

    .aec-cta-btn--large {
        font-size: 1.1rem;
        padding: 16px 36px;
    }

    .aec-pain {
        padding-top: 5rem;
    }

    .aec-pain-list {
        gap: 0.75rem;
    }

    .aec-pain-item {
        padding: 1.2rem 1.25rem;
        gap: 1rem;
        border-right-width: 4px;
        border-bottom-width: 4px;
    }

    .aec-pain-icon {
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
        border-radius: 12px;
    }

    .aec-pain-item p {
        font-size: 0.88rem;
    }

    .aec-benefit-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .aec-cta-card {
        padding: 2rem 1.25rem;
    }

    .aec-cta-card__badges {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .aec-cta-card__steps {
        flex-wrap: wrap;
        gap: 0.25rem 0.5rem;
    }

    .aec-cta-btn--card {
        max-width: 100%;
        font-size: 1rem;
        padding: 16px 0;
    }

    .aec-topic-grid {
        gap: 0.5rem;
    }

    .aec-topic-tag {
        font-size: 0.82rem;
        padding: 8px 14px;
    }

    .aec-section-title {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }

    .aec-solution-title {
        font-size: 2rem;
    }

    .aec-bridge {
        padding-bottom: 6rem;
    }

    .aec-bridge-text {
        font-size: 1rem;
    }

    .aec-bridge-text strong {
        font-size: 1.1rem;
    }

    .aec-container {
        padding: 0 1.25rem;
    }

    .aec-chat__avatar {
        width: 36px;
        height: 36px;
    }

    .aec-chat__bubble {
        padding: 10px 14px;
        box-shadow: 2px 2px 0 #1a1a1a;
        border-width: 1.5px;
    }

    .aec-chat__bubble p {
        font-size: 0.82rem;
    }

    .aec-chat__name {
        font-size: 0.65rem;
    }

    .aec-chat {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .aec-about-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .aec-faq-list {
        padding: 0.5rem 1.25rem;
    }

    .aec-final-cta {
        padding-top: 5rem;
    }

    .aec-deco__bubble {
        font-size: 0.7rem;
        padding: 4px 10px;
        border-width: 1.5px;
        box-shadow: 2px 2px 0 #1a1a1a;
    }

    .aec-deco--pain {
        right: -10px;
    }

    .aec-deco--pain img {
        width: 70px;
        opacity: 0.08;
    }

    .aec-deco--bridge {
        left: -10px;
        bottom: 2rem;
    }

    .aec-deco--bridge img {
        width: 60px;
        opacity: 0.08;
    }

    .aec-deco--topics {
        right: -5px;
    }

    .aec-deco--topics img {
        width: 60px;
        opacity: 0.08;
    }

    .aec-deco--benefits {
        left: -10px;
    }

    .aec-deco--benefits img {
        width: 55px;
        opacity: 0.06;
    }

    .aec-deco--about {
        right: -5px;
    }

    .aec-deco--about img {
        width: 50px;
        opacity: 0.06;
    }

    .aec-deco--faq {
        right: -5px;
    }

    .aec-deco--faq img {
        width: 55px;
        opacity: 0.06;
    }

    /* Bonus section mobile */
    .aec-bonus-card {
        padding: 2rem 1.25rem;
    }

    .aec-bonus-card__badge {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .aec-bonus-card__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.2rem;
    }

    .aec-bonus-card__icon {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }

    .aec-bonus-card__features {
        justify-content: center;
    }

    .aec-deco--bonus {
        right: -10px;
    }

    .aec-deco--bonus img {
        width: 60px;
        opacity: 0.08;
    }

    .aec-final-bonus {
        font-size: 0.82rem;
    }
}
