

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-primary-teal: #34BAB0;
    --primary: #34BAB0;
    --color-teal-hover: #2ba69d;
    --color-dark-text: #1E232D;
    --color-muted-text: #8B8B8B;
    --color-border-teal: #5CDAD0;
    --color-white: #FFFFFF;

    /* Gradients */
    --gradient-ai-text: linear-gradient(135deg, #8A38F5 0%, #D81B60 100%);
    --gradient-cta-title: linear-gradient(180deg, #4F55FF 0%, #7442FE 100%);

    /* Typography: Single global font family 'URW DIN' */
    --font-family-body: -apple-system, BlinkMacSystemFont, "URWDIN",sans-serif;

    /* Layout Constants */
    --container-max-width: 1440px;
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --cta: #00172e;
    --background-2: #00172f;
    --section: #f0f6ff;
    --white: #ffffff;
    --section-2: #f7f9ff;
    --border: #e6ecf0;
    --blue: #1162d4;             /* Icon/Primary, chữ "Bán hàng" */
    --navy: #00172e;
    --text: #1e232d; 
    --red: #eb2323;
}



/* --------------------------------------------------------------------------
   3. HERO MODULE (.hero-section)
   Figma Node ID: 798-19894
   -------------------------------------------------------------------------- */
.hero-section {
    width: 100%;
    background-color: var(--color-white);
    padding: 60px 20px 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero-section__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

/* 3.1 Hero Left Column: Text & Prompt Box */
.hero-section__content {
    flex: 0 0 620px;
    max-width: 620px;
    z-index: 2;
}

/* Title Main: "Trải nghiệm tạo / landing page với AI" */
.hero-section__title-main {
    font-family: var(--font-family-body);
    font-weight: 800;
    font-size: 56px;
    line-height: 76px;
    color: var(--color-dark-text);
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

/* Gradient highlight for "AI" word */
.hero-section__title-ai {
    position: relative;
    display: inline-block;
    background: var(--gradient-ai-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-right: 28px;
    /* space for absolute sparkle icon */
}

/* Sparkle stars floating top-right of AI word */
.hero-section__stars-icon {
    position: absolute;
    top: -8px;
    right: -4px;
    width: 28px;
    height: 28px;
    display: block;
    pointer-events: none;
}

/* Subheading: "Chỉ 2-5 phút cho một landing hoàn chỉnh" (URW DIN) */
.hero-section__title-sub {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 34px;
    line-height: 42px;
    color: var(--color-dark-text);
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

/* Description paragraph */
.hero-section__description {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--color-dark-text);
    margin-bottom: 32px;
    opacity: 0.9;
}

/* 3.2 Prompt Box Form */
.hero-section__prompt-box {
    width: 100%;
    background: var(--color-white);
    border: 2px solid var(--color-border-teal);
    border-radius: 24px;
    box-shadow: 0px 8px 28px rgba(92, 218, 208, 0.25);
    overflow: hidden;
    transition: var(--transition-fast);
}

.hero-section__prompt-box:focus-within {
    box-shadow: 0px 12px 36px rgba(92, 218, 208, 0.4);
}

/* Textarea input section */
.hero-section__textarea-wrapper {
    padding: 20px 24px 12px 24px;
    position: relative;
}

.hero-section__textarea {
    width: 100%;
    height: 72px;
    border: none;
    outline: none;
    resize: none;
    font-family: var(--font-family-body);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--color-dark-text);
    background: transparent;
}

.hero-section__textarea::placeholder {
    color: var(--color-muted-text);
}

/* Prompt Box Footer */
.hero-section__prompt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 12px 24px;
    border-top: 1px solid #E6ECF0;
    background: #FAFBFD;
}

.hero-section__char-counter {
    font-size: 14px;
    line-height: 21px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hero-section__char-label {
    color: var(--color-muted-text);
    font-weight: 400;
}

.hero-section__char-val {
    color: var(--color-dark-text);
    font-weight: 600;
}

/* Submit CTA Button */
.hero-section__btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: var(--color-primary-teal);
    color: var(--color-white);
    border: none;
    border-radius: 20px;
    font-family: var(--font-family-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.hero-section__btn-submit:hover {
    background-color: #1E232D !important;
    transform: translateY(-2px);
    box-shadow: 0px 8px 20px rgba(52, 186, 176, 0.4);
}

.hero-section__btn-submit:active {
    transform: translateY(0);
}

/* 3.3 Hero Right Column: Composite Illustration Showcase */
.hero-section__visual {
    flex: 1;
    max-width: 760px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section__illustration-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0px 16px 36px rgba(0, 0, 0, 0.08));
    transition: var(--transition-fast);
}

.hero-section__illustration-img:hover {
    transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   4. FEATURES CTA MODULE (.features-cta-section)
   Figma Node ID: 862-4362
   -------------------------------------------------------------------------- */
.features-cta-section {
    width: 100%;
    min-height: 198px;
    /* Clean pastel wave background matching Figma node Section CTA 10 (1920x198) */
    background: url('https://nhanhoa.com/images/ai/landing-ai/cta/section-cta-10-clean-bg.png') center / cover no-repeat;
    padding: 40px 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.features-cta-section__container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* 3 Column Feature Cards Grid */
.features-cta-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
    text-align: center;
}

/* Individual Feature Item */
.features-cta-section__item {
    padding: 8px 16px;
    position: relative;
    transition: var(--transition-fast);
}

/* Subtle vertical divider lines between columns */
.features-cta-section__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(180, 195, 230, 0.45);
}

.features-cta-section__item:hover {
    transform: translateY(-2px);
}

/* Feature Title: Gradient Blue/Purple Text */
.features-cta-section__title {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 6px;
    background: linear-gradient(180deg, #4F55FF 0%, #7442FE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Description */
.features-cta-section__desc {
    font-family: var(--font-family-body);
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #1E232D;
    letter-spacing: 0.2px;
}

.features-cta-section__item:hover {
    background: white;
    border-radius: 24px;
    cursor: pointer;

}

.features-cta-section__item:hover .features-cta-section__title {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: var(--color-primary-teal, #4ABBA9) !important;
    color: var(--color-primary-teal, #4ABBA9) !important;
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */

/* Tablet Layout (<= 1024px) */
@media screen and (max-width: 1024px) {
    .hero-section__container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-section__content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .hero-section__title-main {
        justify-content: center;
        font-size: 44px;
    }

    .hero-section__prompt-box {
        margin: 0 auto;
    }

    .features-cta-section__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .features-cta-section__item:not(:last-child)::after {
        display: none;
    }

    .features-cta-section__item:not(:last-child) {
        border-bottom: 1px solid rgba(140, 160, 210, 0.3);
        padding-bottom: 20px;
    }
}

/* Mobile Layout (<= 640px) */
@media screen and (max-width: 640px) {
    .hero-section {
        padding: 40px 16px;
    }

    .hero-section__title-main {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-section__title-sub {
        font-size: 24px;
        line-height: 32px;
    }

    .hero-section__description {
        font-size: 14px;
        line-height: 22px;
    }

    .hero-section__prompt-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .hero-section__char-counter {
        justify-content: center;
    }

    .hero-section__btn-submit {
        width: 100%;
    }

    .features-cta-section__desc {
        font-size: 16px;
        line-height: 22px;
    }
}

/* ==========================================================================
   5. AI VIDEO DEMO MODULE (.video-demo-section)
   Figma Node ID: 841-4092 (Section >6 Card 8)
   -------------------------------------------------------------------------- */
.video-demo-section {
    width: 100%;
    background-color: #EBF4FF;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.video-demo-section__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

/* Left Column: Visual Showcase Illustration */
.video-demo-section__visual {
    flex: 0 0 720px;
    max-width: 720px;
    position: relative;
}

.video-demo-section__illustration-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0px 16px 36px rgba(0, 0, 0, 0.06));
    transition: var(--transition-fast);
}

.video-demo-section__illustration-img:hover {
    transform: translateY(-4px);
}

/* Right Column: Text Content & CTA */
.video-demo-section__content {
    flex: 1;
    max-width: 580px;
}

.video-demo-section__title {
    font-weight: 700;
    font-size: 48px;
    line-height: 53px;
    color: var(--color-dark-text);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.video-demo-section__desc {
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    color: var(--color-dark-text);
    opacity: 0.9;
    margin-bottom: 32px;
}

.video-demo-section__btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background-color: var(--color-primary-teal);
    color: var(--color-white);
    border: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    box-shadow: 0px 6px 20px rgba(52, 186, 176, 0.3);
}

.video-demo-section__btn-cta:hover {
    background-color: #1E232D !important;
    transform: translateY(-2px);
    box-shadow: 0px 10px 28px rgba(52, 186, 176, 0.45);
    color:#fff;
}

.video-demo-section__btn-cta:active {
    transform: translateY(0);
}


/* Thêm con trỏ chuột dạng bàn tay cho khối ảnh */
.video-demo-section__visual {
    flex: 0 0 720px;
    max-width: 720px;
    position: relative;
    cursor: pointer; /* Thêm dòng này */
}

/* ==========================================================================
   VIDEO MODAL (POPUP) STYLES
   ========================================================================== */
.video-modal {
    display: none; /* Ẩn mặc định */
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Nền tối mờ */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Class dùng để hiển thị modal thông qua JS */
.video-modal.is-show {
    display: flex;
    opacity: 1;
}

.video-modal__content {
    position: relative;
    width: 90%;
    max-width: 900px; /* Kích thước tối đa của video */
    background: #000;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 36px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast, 0.3s);
}

.video-modal__close:hover {
    color: var(--color-primary-teal, #34bab0);
}

/* Tạo tỷ lệ 16:9 chuẩn cho video YouTube responsive */
.video-modal__iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-modal__iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Media Queries for Video Demo Module */
@media screen and (max-width: 1024px) {
    .video-demo-section__container {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .video-demo-section__visual {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .video-demo-section__content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .video-demo-section__title {
        font-size: 36px;
        line-height: 44px;
    }
}

@media screen and (max-width: 640px) {
    .video-demo-section {
        padding: 48px 16px;
    }

    .video-demo-section__title {
        font-size: 28px;
        line-height: 36px;
    }

    .video-demo-section__desc {
        font-size: 16px;
        line-height: 24px;
    }

    .video-demo-section__btn-cta {
        width: 100%;
    }
}
/* ==========================================================================
   RESPONSIVE CHO VIDEO MODAL (POPUP)
   ========================================================================== */

@media screen and (max-width: 1024px) {
    /* Trên Tablet: Mở rộng khung video một chút */
    .video-modal__content {
        width: 95%; 
    }
}

@media screen and (max-width: 640px) {
    /* Trên Mobile: Cho khung video gần tràn viền */
    .video-modal__content {
        width: 100%;
        border-radius: 0; /* Bỏ bo góc để trải nghiệm giống xem full màn hình hơn */
    }
    
    .video-modal__iframe-wrapper {
        border-radius: 0;
    }

    /* Quan trọng: Định vị lại nút Tắt (X) trên Mobile */
    .video-modal__close {
        /* Chuyển sang fixed để ghim cố định góc trên cùng bên phải màn hình */
        position: fixed;
        top: 15px;
        right: 15px;
        font-size: 28px;
        
        /* Thêm nền tròn mờ để nút X nổi bật hơn trên các thiết bị di động */
        background-color: rgba(0, 0, 0, 0.6);
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        z-index: 100000;
    }
}
/* ==========================================================================
    pricing section 2
   -------------------------------------------------------------------------- */
   .pricing-section-2 .pricing-wrap {
    padding: 60px 0;
}
   .pricing-section-2 {
  scroll-margin-top: 92px;
  background: var(--white);
  overflow: hidden;
}

.pricing-wrap {
  padding: 128px 0;
  display: grid;
  gap: 64px;
}

.pricing-heading {
  width: min(100%, 1280px);
  justify-self: center;
}

.pricing-heading h2 {
  max-width: 996px;
  margin: 0 auto;
}

.pricing-heading p,
.power-heading p {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.pricing-table-wrap {
  position: relative;
  width: min(100%, 1280px);
  justify-self: center;
}

.pricing-logo {
  position: absolute;
  z-index: 2;
  width: 175px;
  left: -36px;
  top: -40px;
  transform: rotate(-13.6deg);
  pointer-events: none;
}

.pricing-table {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 220px repeat(5, minmax(0, 1fr));
  align-items: stretch;
  overflow: hidden;
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.pricing-feature-head,
.plan-card,
.pricing-row-label,
.pricing-cell {
  background: var(--white);
}

.pricing-feature-head {
  display: flex;
  align-items: flex-end;
  min-height: 254px;
  padding: 24px 24px 36px;
  
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  border-right: 1px solid #e6ecf0;
}

.plan-card {
  min-height: 254px;
  padding: 24px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
  border-left: 1px solid #e6ecf0;
}

.starter-plan {
  border-left: 2px solid #b3eaea;
  border-right: 2px solid #b3eaea;
}

.plan-card h3 {
  margin: 0;

  display: grid;
  place-items: center;
  
  font-size: 22px;
  line-height: 1.2;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: var(--cta);
}

.plan-price strong {
  
  font-size: 22px;
  line-height: 1.3;
}

.plan-price span {
  
  font-size: 24px;
  font-weight: 600;
}

.plan-price em {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

.plan-card p {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.plan-button {
  width: 95%;
  max-width: 360px;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 57px;
  background: var(--cta);
  color: var(--white);
    
  font-weight: 500;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}

.plan-button:hover,
.plan-button:focus-visible {
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(74, 186, 185, 0.28);
  transform: translateY(-2px);
  color: #fff;
}

.pricing-row-label,
.pricing-cell {
  min-height: 40px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  border-top: 1px solid #e6ecf0;
  border-bottom: 1px solid #e6ecf0;
  font-size: 18px;
  line-height: 1.3;
}

.pricing-row-label {
  justify-content: flex-start;
  font-weight: 500;
  border-right: 1px solid #e6ecf0;
}

.pricing-cell {
  justify-content: center;
  text-align: center;
  font-weight: 600;
  border-left: 1px solid #e6ecf0;
}

.pricing-cell.highlight {
  color: #2d1e1e;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.tall-row {
  min-height: 62px;
}

.check-icon {
  width: 20px;
  height: 20px;
}
article.plan-card.pro-plan.highlight {
    position: relative;
}

article.plan-card.pro-plan.highlight .hero-section__stars-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: auto;
    display: block;
    pointer-events: none;
} 


/* ==========================================================================
   6. CREDIT PRICING MODULE (.pricing-section)
   Figma Node ID: 880-9861 (Section Bảng giá 4)
   -------------------------------------------------------------------------- */
.pricing-section {
    width: 100%;
    background-color: #FFFFFF;
    padding: 96px 20px;
    position: relative;
    overflow: hidden;
}

.pricing-section__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* Section Header */
.pricing-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.pricing-section__title {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1;
    color: var(--color-dark-text);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.pricing-section__subtitle {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    color: var(--color-dark-text);
    opacity: 0.85;
}

/* 3 Pricing Cards Grid */
.pricing-section__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    max-width: 1440px;
    margin: 0 auto;
}

/* Standard Single Integrated Pricing Card */
.pricing-card {
    width: 370px;
    min-width: 0;
    height: 459px;
    box-sizing: border-box;
    flex: 0 0 370px;
    background: radial-gradient(circle at 100% 100%, #d8c4ff 0%, #effafd 28%, #effafd 100%);
    border-radius: 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-fast);
    overflow: hidden;
    border: 0;
    box-shadow: none;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 16px 36px rgba(0, 0, 0, 0.06);
}

/* Featured / Popular Card (Middle Card) */
.pricing-card--popular {
    height: 510px;
    background: radial-gradient(circle at 100% 100%, #8052d8 0%, #00172e 34%, #00172e 100%);
    border: 0;
    transform: none;
    box-shadow: 0 0 10px rgba(74, 186, 185, 0.5);
}

.pricing-card--popular:hover {
    transform: translateY(-4px);
}

/* Bookmark Ribbon Badge on Top-Right Edge of Featured Card */
.pricing-card__badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #0B5CE3 0%, #8D3BFF 100%);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    height: 24px;
    box-sizing: border-box;
    padding: 0 16px;
    border-radius: 0 0 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: none;
    z-index: 2;
}

.pricing-card__badge-icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    font-size: 0;
    background: url('https://nhanhoa.com/images/ai/landing-ai/pricing/bookmark-icon.svg') center / 18px 18px no-repeat;
}

/* Header Part */
.pricing-card__header {
    height: 180px;
    box-sizing: border-box;
    padding: 24px 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.pricing-card--popular .pricing-card__header {
    height: 180px;
}

.pricing-card__title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 40px;
    margin: 0;
}

.pricing-card__diamond-img {
    position: absolute;
    top: 15px;
    left: 13.5px;
    width: 52px;
    height: 46px;
    object-fit: contain;
}

.pricing-card__name {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: var(--color-dark-text);
    margin: 0;
}

.pricing-card--popular .pricing-card__name {
    color: #FFFFFF;
    margin-bottom: 0;
}

.pricing-card__price {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
    color: #4A5568;
    margin: 0;
    text-align: center;
}

.pricing-card--popular .pricing-card__price {
    color: #E2E8F0;
}

/* Card CTA Button */
.pricing-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    box-sizing: border-box;
    padding: 0 32px;
    background-color: #4ABAB9;
    color: var(--color-white);
    border: none;
    border-radius: 57px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    box-shadow: none;
    order: 2;
}

.pricing-card__header::before {
    content: '';
    width: 100%;
    height: 1px;
    margin-top: 0;
    background: rgba(30, 35, 45, 0.1);
    order: 1;
}

.pricing-card--popular .pricing-card__header::before {
    background: rgba(255, 255, 255, 0.18);
}

.pricing-card__btn:hover {
    background-color: var(--color-teal-hover);
    transform: translateY(-2px);
    box-shadow: 0px 8px 24px rgba(52, 186, 176, 0.45);
    color: #fff;
}

/* Inner Divider Line */
.pricing-card__divider {
    display: none;
}

.pricing-card--popular .pricing-card__divider {
    background: rgba(255, 255, 255, 0.12);
}

/* Body / Features Part */
.pricing-card__body {
    height: 279px;
    box-sizing: border-box;
    flex: 0 0 279px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0 24px;
}

.pricing-card--popular .pricing-card__body {
    height: 330px;
    flex-basis: 330px;
    padding-bottom: 48px;
}

.pricing-card__feature-head {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
    color: var(--color-dark-text);
    margin: 0;
    padding: 0 16px;
    text-align: center;
}

.pricing-card--popular .pricing-card__feature-head {
    color: #FFFFFF;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pricing-card__features li {
    font-weight: 500;
    font-size: 16px;
    line-height: normal;
    color: #2D3748;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
}

.pricing-card--popular .pricing-card__features li {
    color: #FFFFFF;
}

.pricing-card__icon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 0;
    font-size: 0;
    background: url('https://nhanhoa.com/images/ai/landing-ai/pricing/star-icon.svg') center / 16px 16px no-repeat;
}

.pricing-card__icon--cyan {
    color: transparent;
}
/* CSS cho phần input số lượng */
    .credit-input-wrapper {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s ease-in-out;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* Class thêm vào khi show (Fade in) */
    .credit-input-wrapper.show {
        opacity: 1;
        visibility: visible;
        max-height: 100px; /* Chiều cao mở rộng */
        margin-bottom: 20px;
    }

    .qty-control {
        display: flex;
        align-items: center;
        background: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
    }

    .qty-btn {
        background: none;
        border: none;
        padding: 8px 15px;
        font-size: 18px;
        font-weight: bold;
        color: #333;
        cursor: pointer;
        transition: background 0.2s;
    }

    .qty-btn:hover {
        background: #e9ecef;
    }

    .qty-input {
        width: 60px;
        text-align: center;
        border: none;
        font-size: 16px;
        font-weight: 500;
        padding: 8px 0;
        background: transparent;
        outline: none;
        /* Ẩn mũi tên mặc định của input number */
        -moz-appearance: textfield;
    }
    .qty-input::-webkit-outer-spin-button,
    .qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
/* Pricing Section Media Queries */
@media screen and (max-width: 1024px) {
    .pricing-section__grid {
        flex-direction: column;
        gap: 32px;
    }

    .pricing-card--popular {
        transform: translateY(0);
    }

    .pricing-card--popular:hover {
        transform: translateY(-4px);
    }
}

@media screen and (max-width: 640px) {
    .pricing-section {
        padding: 60px 16px;
    }

    .pricing-section__title {
        font-size: 32px;
        line-height: 40px;
    }

    .pricing-section__subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .pricing-card {
        width: 100%;
        max-width: 370px;
        flex-basis: auto;
    }
}

/* ==========================================================================
   MODULE 5: 4-STEP PROCESS MODULE (Figma Node ID: 887-15377)
   ========================================================================== */

.process-section {
    width: 100%;
    background-color: #EBF4FF;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.process-section__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

/* Section Header */
.process-section__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.process-section__title {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1;
    color: #1E232D;
    margin: 0;
    letter-spacing: -0.5px;
}

.process-section__subtitle {
    font-family: var(--font-family-body);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    color: #1E232D;
    margin: 0;
    opacity: 0.85;
}

/* Cards Grid */
.process-section__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    width: 100%;
    padding-top: 50px;
    /* Space for numbers overlapping above card */
}

/* Process Card Item */
.process-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover {
    transform: translateY(-8px);
}

/* Big Number Wrapper */
.process-card__number-wrapper {
    position: absolute;
    top: -62px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-card__number-glow {
    position: absolute;
    width: 120px;
    height: 100px;
    background: rgba(216, 255, 255, 0.9);
    filter: blur(40px);
    border-radius: 50%;
    z-index: 1;
}

.process-card__number-glow--purple {
    background: rgba(196, 93, 246, 0.45);
    filter: blur(40px);
}

.process-card__number {
    position: relative;
    z-index: 2;
    font-family: var(--font-family-body);
    font-weight: 800;
    font-size: 130px;
    line-height: 0.85;
    color: #4ABBA9;
    letter-spacing: -2px;
    user-select: none;
}

.process-card__number--gradient {
    background: linear-gradient(180deg, #0B5CE3 0%, #8D3BFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Card Body Container */
.process-card__body {
    width: 100%;
    min-height: 232px;
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 44px 24px 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    gap: 20px;
    box-shadow: 0px 6px 120px rgba(123, 210, 210, 0.2);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.process-card:hover .process-card__body {
    box-shadow: 0px 12px 140px rgba(123, 210, 210, 0.35);
}

/* Card 1 Active State */
.process-card--active .process-card__body {
    background-color: #B3ECEB;
    box-shadow: 0px 6px 40px rgba(74, 187, 169, 0.25);
}

.process-card--active:hover .process-card__body {
    box-shadow: 0px 12px 60px rgba(74, 187, 169, 0.4);
}

/* Icon Styling */
.process-card__icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.process-card__icon-wrapper--active {
    background-color: #FFFFFF;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.06);
}

.process-card:hover .process-card__icon-wrapper {
    transform: scale(1.08);
}

.process-card__icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

/* Card Description */
.process-card__desc {
    font-family: var(--font-family-body);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.25;
    color: #1E232D;
    margin: 0;
    letter-spacing: 0.2px;
}

/* CTA Action Button */
.process-section__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    height: 48px;
    background-color: #4ABBA9;
    color: #FFFFFF;
    border-radius: 9999px;
    font-family: var(--font-family-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0px 4px 16px rgba(74, 187, 169, 0.3);
}

.process-section__btn:hover {
    background-color: #3CA595;
    transform: translateY(-2px);
    box-shadow: 0px 8px 24px rgba(74, 187, 169, 0.45);
}

/* Process Section Responsive Styles */
@media screen and (max-width: 1024px) {
    .process-section__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 64px 24px;
    }
}

@media screen and (max-width: 640px) {
    .process-section {
        padding: 60px 16px;
    }

    .process-section__title {
        font-size: 30px;
        line-height: 1.15;
    }

    .process-section__subtitle {
        font-size: 16px;
    }

    .process-section__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .process-card__number {
        font-size: 110px;
    }

    .process-card__body {
        min-height: 200px;
        padding-top: 36px;
    }

    .process-card__desc {
        font-size: 18px;
    }
}

/* ==========================================================================
   MODULE 6: ACCORDION FEATURES SHOWCASE (Figma Node ID: 880-14772)
   ========================================================================== */

/* Figma refinement: interactive process cards (Node 887:15377) */
.process-section__container { max-width: 1440px; }
.process-section__header { gap: 8px; }
.process-section__title { letter-spacing: 0; }
.process-section__subtitle { opacity: 1; }
.process-section__grid { padding: 0; align-items: center; }
.process-card { cursor: pointer; transition: none; }
.process-card:hover { transform: none; }
.process-card__number-wrapper { position: relative; top: auto; left: auto; width: 100%; height: 89px; transform: none; }
.process-card__number-glow { width: 206px; height: 198px; left: 50%; top: -18px; transform: translateX(-50%); background: url('https://nhanhoa.com/images/ai/landing-ai/process/figma-number-glow-default.svg') center / contain no-repeat; filter: none; border-radius: 0; }
.process-card__number { position: absolute; top: 21px; left: 50%; width: 282px; transform: translateX(-50%); font-family: 'Montserrat', var(--font-family-body); font-size: 150px; line-height: 0.72; color: #4ABAB9; letter-spacing: -7.5px; text-align: center; }
.process-card--active .process-card__number-wrapper { height: 113px; }
.process-card--active .process-card__number-glow { top: -2px; background-image: url('https://nhanhoa.com/images/ai/landing-ai/process/figma-number-glow-active.svg'); }
.process-card--active .process-card__number { top: 32px; background: linear-gradient(180deg, #0B5CE3 0%, #8D3BFF 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.process-card__body { min-height: 232px; box-sizing: border-box; padding: 32px 24px 24px; justify-content: flex-start; gap: 0; box-shadow: 0 6px 60px rgba(123, 210, 210, 0.2); transition: min-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; }
.process-card:hover .process-card__body { box-shadow: 0 6px 60px rgba(123, 210, 210, 0.2); }
.process-card--active .process-card__body { min-height: 240px; padding: 24px; gap: 16px; background-color: #B3EAEA; box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); }
.process-card--active:hover .process-card__body { background-color: #B3EAEA; box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); }
.process-card__icon-wrapper { width: 128px; height: 128px; box-sizing: border-box; transition: none; }
.process-card--active .process-card__icon-wrapper { padding: 16px; background-color: #FFFFFF; border-radius: 300px; box-shadow: none; }
.process-card:hover .process-card__icon-wrapper { transform: none; }
.process-card__icon { width: 96px; height: 96px; }
.process-card__desc { line-height: 1.2; letter-spacing: 0.6px; }

/* Keep every card on a fixed canvas so active-state changes do not reflow the row. */
.process-card__number-wrapper,
.process-card--active .process-card__number-wrapper { height: 113px; }
.process-card__number,
.process-card--active .process-card__number { top: 0; }
.process-card__body,
.process-card--active .process-card__body {
    min-height: 240px;
    height: 240px;
    padding: 24px;
    gap: 16px;
}
.process-card__number {
    background: linear-gradient(180deg, #4ABAB9 0%, #4ABAB9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 280ms ease;
}
.process-card--active .process-card__number {
    background: linear-gradient(180deg, #0B5CE3 0%, #8D3BFF 100%);
}
.process-card__body,
.process-card__icon-wrapper,
.process-card__number-glow { transition: background-color 280ms ease, box-shadow 280ms ease, opacity 280ms ease; }
.process-card__number-glow { opacity: 0.7; }
.process-card--active .process-card__number-glow { opacity: 1; }

/* The exported glow SVG has an opaque rectangular canvas. Use a transparent CSS glow instead. */
.process-card__number-glow,
.process-card--active .process-card__number-glow {
    width: 150px;
    height: 92px;
    top: 10px;
    background: radial-gradient(ellipse, rgba(74, 186, 185, 0.32) 0%, rgba(74, 186, 185, 0) 70%);
    filter: blur(18px);
}
.process-card--active .process-card__number-glow {
    background: radial-gradient(ellipse, rgba(141, 59, 255, 0.42) 0%, rgba(141, 59, 255, 0) 70%);
}
.process-card__number,
.process-card--active .process-card__number {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: #4ABAB9;
    transition: color 280ms ease;
}
.process-card--active .process-card__number { color: #5B49F1; }

/* Figma anchors: default number begins at the top; active number is 12px lower. */
.process-card--active .process-card__number { top: 12px; }

@media screen and (max-width: 1024px) { .process-section__grid { padding: 0; } }
@media screen and (max-width: 640px) {
    .process-card__number-wrapper,
    .process-card--active .process-card__number-wrapper { height: 98px; }
    .process-card__number { font-size: 110px; top: 0; }
    .process-card--active .process-card__number { top: 8px; }
    .process-card__body { min-height: 200px; }
}

.features-showcase-section {
    width: 100%;
    background-color: #FFFFFF;
    padding: 96px 24px;
    position: relative;
    overflow: hidden;
}

.features-showcase-section__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

/* Section Header */
.features-showcase-section__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.features-showcase-section__title {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1;
    color: #1E232D;
    margin: 0;
    letter-spacing: -0.5px;
}

.features-showcase-section__subtitle {
    font-family: var(--font-family-body);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    color: #1E232D;
    margin: 0;
    opacity: 0.85;
}

/* 2-Column Grid Layout */
.features-showcase-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 48px;
    width: 100%;
    align-items: center;
}

/* Left Column: Accordion List */
.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    min-height: 580px;
}

.accordion-item {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item__header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    gap: 16px;
}

.accordion-item__title {
    font-family: var(--font-family-body);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
    color: #1E232D;
    transition: color 0.2s ease;
}

.accordion-item__header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-item__sparkle-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.4) rotate(-20deg);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.accordion-item__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

/* Active Accordion Item */
.accordion-item--active {
    background-color: #FFFFFF;
    border-color: #4ABBA9;
    box-shadow: 0px 8px 32px rgba(74, 187, 169, 0.15);
}

.accordion-item--active .accordion-item__title {
    color: #1E232D;
}

.accordion-item--active .accordion-item__chevron {
    color: #4ABBA9;
    transform: rotate(180deg);
}

.accordion-item--active .accordion-item__sparkle-img {
    opacity: 1;
    visibility: visible;
    transform: scale(1) rotate(0deg);
}

/* Accordion Content Drawer */
.accordion-item__content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.accordion-item--active .accordion-item__content {
    max-height: 320px;
    opacity: 1;
}

.accordion-item__inner {
    padding: 0 24px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-item__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-item__bullets li {
    position: relative;
    padding-left: 20px;
    font-family: var(--font-family-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #475569;
}

.accordion-item__bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1E232D;
    font-weight: bold;
}

.accordion-item__text {
    font-family: var(--font-family-body);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}

.accordion-item__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 10px 24px;
    height: 42px;
    background-color: #4ABBA9;
    color: #FFFFFF;
    border-radius: 9999px;
    font-family: var(--font-family-body);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0px 4px 14px rgba(74, 187, 169, 0.25);
}

.accordion-item__btn:hover {
    background-color: #3CA595;
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(74, 187, 169, 0.4);
}

/* Right Column: Mockup Showcase */
.mockup-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mockup-showcase__wrapper {
    width: 100%;
    position: relative;
    border-radius: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mockup-showcase__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 20px;
}

/* Responsive Media Queries */
@media screen and (max-width: 1024px) {
    .features-showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mockup-showcase {
        order: -1;
        /* Mockup on top for mobile/tablet */
    }
}

@media screen and (max-width: 640px) {
    .features-showcase-section {
        padding: 60px 16px;
    }

    .features-showcase-section__title {
        font-size: 30px;
        line-height: 1.15;
    }

    .features-showcase-section__subtitle {
        font-size: 16px;
    }

    .accordion-item__header {
        padding: 16px 20px;
    }

    .accordion-item__title {
        font-size: 16px;
    }
}

/* ==========================================================================
   MODULE 7: TESTIMONIALS SLIDER SECTION (Figma Node ID: 890-2554)
   ========================================================================== */

/* Figma refinement: features showcase (Node 880:14772) */
.features-showcase-section {
    background-color: #F7F9FF;
    padding: 80px 24px;
}
.features-showcase-section__container { max-width: 1440px; gap: 32px; }
.features-showcase-section__header { gap: 8px; }
.features-showcase-section__title { letter-spacing: 0; }
.features-showcase-section__subtitle { opacity: 1; }
.features-showcase-grid {
    grid-template-columns: 586px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}
.accordion-list {
    min-height: 0;
    gap: 16px;
}
.accordion-item {
    background-color: #FFFFFF;
    border: 2px solid transparent;
    border-radius: 24px;
    box-shadow: none;
    transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}
.accordion-item__header { min-height: 56px; box-sizing: border-box; padding: 16px 24px; }
.accordion-item__title { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: 0.6px; }
.accordion-item--active {
    border: 2px solid #4ABAB9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.accordion-item--active .accordion-item__header { padding: 16px 24px; }
.accordion-item__content {
    height: 0;
    max-height: none;
    opacity: 0;
    transition: height 220ms ease, opacity 180ms ease;
}
.accordion-item--active .accordion-item__content { height: 128px; max-height: none; opacity: 1; }
.accordion-item__inner {
    height: 128px;
    box-sizing: border-box;
    padding: 0 22px 16px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.accordion-item__bullets { gap: 4px; }
.accordion-item__bullets li { font-size: 16px; line-height: 1.2; color: #1E232D; }
.accordion-item__text { font-size: 16px; line-height: 1.3; color: #1E232D; }
.accordion-item__btn { height: 48px; flex: 0 0 auto; padding: 2px 34px; border-radius: 16px; box-sizing: border-box; box-shadow: none; }
.accordion-item__inner .accordion-item__btn { margin-top: 18px; }
.mockup-showcase { min-width: 0; }
.mockup-showcase__wrapper {
    width: min(100%, 766px);
    aspect-ratio: 766 / 511;
    overflow: hidden;
    border-radius: 16px;
    contain: layout paint;
}
.mockup-showcase__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 140ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.mockup-showcase__img--changing { opacity: 0; transform: scale(0.985); }

@media screen and (max-width: 1024px) {
    .features-showcase-grid { grid-template-columns: 1fr; }
    .accordion-list { width: min(100%, 586px); margin: 0 auto; }
}

@media screen and (max-width: 640px) {
    .accordion-item__title { font-size: 16px; letter-spacing: 0; }
    .accordion-item--active .accordion-item__content { height: 180px; }
    .accordion-item__inner { height: 154px; flex-direction: column; align-items: flex-start; }
    .accordion-item__btn { height: 42px; padding: 2px 24px; }
}

.testimonials-section {
    width: 100%;
    background-color: #FFFFFF;
    padding: 100px 0 80px 0;
    position: relative;
    overflow: hidden;
}

/* Decorative blurred ellipse behind the cards */
.testimonials-section__deco-ellipse {
    position: absolute;
    width: 655px;
    height: 197px;
    border-radius: 50%;
    background: rgba(74, 186, 185, 0.5);
    filter: blur(140px);
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.testimonials-section__container {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.testimonials-section__header {
    text-align: center;
    padding: 0 24px;
}

.testimonials-section__title {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1;
    color: #1E232D;
    margin: 0;
}

/* Slider Track Container */
.testimonials-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0 30px 0;
}

.testimonials-slider__track {
    display: flex;
    align-items: center;
    gap: 32px;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Individual Testimonial Card */
.testimonial-card {
    flex: 0 0 648px;
    max-width: 648px;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0px 0px 21px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: opacity 0.4s ease,
        box-shadow 0.4s ease;
    opacity: 0.7;
    user-select: none;
    cursor: pointer;
    position: relative;
}

.testimonial-card--active {
    flex: 0 0 924px;
    max-width: 924px;
    opacity: 1;
    border-radius: 32px;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-card__inner {
    display: flex;
    align-items: stretch;
    min-height: 312px;
    position: relative;
    overflow: hidden;
}

.testimonial-card--active .testimonial-card__inner {
    min-height: 446px;
}

/* Decorative blurred ellipses inside each card */
.testimonial-card__deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.testimonial-card__deco-orange {
    position: absolute;
    width: 45%;
    height: 30%;
    border-radius: 50%;
    background: rgba(252, 175, 86, 0.55);
    filter: blur(63px);
    bottom: -5%;
    right: 5%;
}

.testimonial-card__deco-purple {
    position: absolute;
    width: 43%;
    height: 55%;
    border-radius: 50%;
    background: rgba(142, 59, 255, 0.3);
    filter: blur(95px);
    bottom: -10%;
    right: 15%;
}

.testimonial-card__deco-teal {
    position: absolute;
    width: 35%;
    height: 50%;
    border-radius: 50%;
    background: rgba(74, 186, 185, 0.45);
    filter: blur(70px);
    bottom: -5%;
    right: 30%;
}

/* Left Column: Avatar Image */
.testimonial-card__avatar-col {
    flex: 0 0 312px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.testimonial-card--active .testimonial-card__avatar-col {
    flex: 0 0 446px;
}

.testimonial-card__avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 22px;
}

.testimonial-card--active .testimonial-card__avatar {
    border-radius: 32px;
}

/* Right Column: Quote Content */
.testimonial-card__content-col {
    flex: 1;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    gap: 12px;
}

.testimonial-card--active .testimonial-card__content-col {
    padding: 36px 32px;
    gap: 16px;
}

/* SVG Quote Icon */
.testimonial-card__quote-svg {
    width: 44px;
    height: 31px;
    object-fit: contain;
    flex-shrink: 0;
}

.testimonial-card--active .testimonial-card__quote-svg {
    width: 63px;
    height: 45px;
}

/* Legacy quote-mark (keep for backward compat) */
.testimonial-card__quote-mark {
    display: none;
}

.testimonial-card__quote {
    font-family: var(--font-family-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #1E232D;
    margin: 0;
}

.testimonial-card--active .testimonial-card__quote {
    font-size: 17px;
    line-height: 1.55;
}

.testimonial-card__author {
    text-align: center;
}

.testimonial-card__name {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    color: #1E232D;
    margin: 0 0 4px 0;
}

.testimonial-card--active .testimonial-card__name {
    font-size: 18px;
}

.testimonial-card__role {
    font-family: var(--font-family-body);
    font-weight: 400;
    font-size: 13px;
    line-height: 1.2;
    color: #64748B;
    margin: 0;
}

.testimonial-card--active .testimonial-card__role {
    font-size: 14px;
}

.testimonial-card__rating {
    color: #F59E0B;
    font-size: 18px;
    letter-spacing: 3px;
    display: flex;
    justify-content: center;
    gap: 2px;
}

/* Controls / Navigation Footer (Figma-accurate) */
.testimonials-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.testimonials-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #F6FAFF;
    border: none;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.testimonials-btn:hover {
    background-color: #4ABBA9;
    color: #FFFFFF;
    transform: scale(1.08);
}

.testimonials-counter-wrap {
    background-color: #FFFFFF;
    border-radius: 49px;
    padding: 4px 20px;
    min-width: 63px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-counter {
    font-family: var(--font-family-body);
    font-weight: 500;
    font-size: 16px;
    color: #515151;
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .testimonial-card {
        flex: 0 0 500px;
        max-width: 500px;
    }

    .testimonial-card--active {
        flex: 0 0 700px;
        max-width: 700px;
    }
}

@media screen and (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 85vw;
        max-width: 85vw;
    }

    .testimonial-card--active {
        flex: 0 0 90vw;
        max-width: 90vw;
    }

    .testimonial-card__inner {
        flex-direction: column;
        min-height: auto;
    }

    .testimonial-card--active .testimonial-card__inner {
        min-height: auto;
    }

    .testimonial-card__avatar-col,
    .testimonial-card--active .testimonial-card__avatar-col {
        flex: 0 0 240px;
        height: 240px;
    }

    .testimonial-card__avatar {
        border-radius: 22px 22px 0 0;
    }

    .testimonial-card--active .testimonial-card__avatar {
        border-radius: 32px 32px 0 0;
    }
}

@media screen and (max-width: 640px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-section__title {
        font-size: 30px;
        line-height: 1.15;
    }

    .testimonial-card__content-col {
        padding: 20px 16px;
    }

    .testimonials-slider {
        padding: 12px 0 20px;
    }

    .testimonials-slider__track {
        gap: 16px;
    }

    .testimonial-card,
    .testimonial-card--active {
        flex: 0 0 calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        opacity: 1;
    }

    .testimonial-card__inner,
    .testimonial-card--active .testimonial-card__inner {
        min-height: 0;
    }

    .testimonial-card__avatar-col,
    .testimonial-card--active .testimonial-card__avatar-col {
        flex-basis: 220px;
        height: 220px;
    }

    .testimonial-card__quote {
        font-size: 13px;
    }

    .testimonial-card--active .testimonial-card__quote {
        font-size: 15px;
    }
}

/* ==========================================================================
   MODULE 8: SECTION CTA 2 (Figma Node ID: 912-8554)
   ========================================================================== */

.cta-section {
    margin-top: 6rem;
    width: 100%;
    min-height: 370px;
    background-image: url('https://nhanhoa.com/images/ai/landing-ai/cta/cta-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.cta-section__container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-section__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 900px;
}

.cta-section__title {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 44px;
    line-height: 1.15;
    color: #1E232D;
    margin: 0;
    letter-spacing: -0.5px;
}

.cta-section__subtitle {
    font-family: var(--font-family-body);
    font-weight: 500;
    font-size: 17px;
    line-height: 1.4;
    color: #1E232D;
    opacity: 0.85;
    margin: 0 0 12px 0;
    max-width: 720px;
}

.cta-section__btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.cta-section__btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #FFFFFF;
    border-radius: 50px;
    padding: 8px 8px 8px 28px;
    text-decoration: none;
    box-shadow: 0px 4px 20px -4px rgba(61, 218, 253, 0.6), 0px 0px 15px rgba(61, 218, 253, 0.4);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-section__btn-wrapper:hover .cta-section__btn,
.cta-section__btn:focus-visible {
    background-color: #00172E;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0px 8px 25px -4px rgba(61, 218, 253, 0.8), 0px 0px 20px rgba(61, 218, 253, 0.6);
    color: #fff;
}

.cta-section__btn-text {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 16px;
    color: #1E232D;
    letter-spacing: -0.2px;
    display: grid;
    min-width: 162px;
}

.cta-section__btn-text-default,
.cta-section__btn-text-hover {
    
    grid-area: 1 / 1;
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-section__btn-text-hover {
    color: #FFFFFF;
    opacity: 0;
    transform: translateY(8px);
}

.cta-section__btn-wrapper:hover .cta-section__btn-text-default,
.cta-section__btn:focus-visible .cta-section__btn-text-default {
    opacity: 0;
    transform: translateY(-8px);
   
}

.cta-section__btn-wrapper:hover .cta-section__btn-text-hover,
.cta-section__btn:focus-visible .cta-section__btn-text-hover {
    opacity: 1;
    transform: translateY(0);
}

.cta-section__btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #4ABBA9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-section__btn-wrapper:hover .cta-section__btn-icon,
.cta-section__btn:focus-visible .cta-section__btn-icon {
    transform: translateX(3px);
    background-color: #FFFFFF;
}

.cta-section__btn-wrapper:hover .cta-section__btn-icon path,
.cta-section__btn:focus-visible .cta-section__btn-icon path {
    stroke: #1E232D;
}
.buy-credits-container.cta-section__container {
       
        padding: 20px;
    margin-bottom: 40px;
    padding-top: 0;
}

.cta-section__container.buy-credits-container .cta-section__content {
    gap: 10px;
}

.cta-section__container.buy-credits-container .cta-section__content h2 {
    font-size: 30px;
}

.cta-section__container.buy-credits-container .cta-section__content p {
    margin: 0;
}

.credit-input-wrapper.show {
    margin-bottom: 5px;
}
/* kho giao diện */
/* Hiệu ứng trượt xuống và mờ dần cho các mẫu mới xuất hiện */
@keyframes w4-slide-down-anim {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.w4-slide-down {
    animation: w4-slide-down-anim 0.4s ease-out forwards;
}
/* ============================ KHO GIAO DIỆN (template gallery) ============================ */
.w4-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.w4-gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding-block: 96px;
  background: var(--section-2);
  overflow: hidden;
}
.w4-gallery-blob { position: absolute; top: 94px; left: 50%; z-index: 0; width: 1679px; max-width: none; opacity: .5; transform: translateX(-50%); pointer-events: none; }
.w4-gallery-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 48px; width: 100%; }

.w4-filter { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; }
.w4-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  width: 221px;
  height: 60px;
  padding: 6px 18px;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  font-size: 16px;
  color: var(--muted);
}
.w4-select img { width: 24px; height: 24px; transform: rotate(90deg); }
.w4-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  max-width: 700px;
  height: 60px;
  padding: 6px 6px 6px 18px;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: var(--white);
}
.w4-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: inherit; font-size: 16px; color: var(--text); }
.w4-search input::placeholder { color: var(--muted); }
.w4-search button {
  flex: none;
  width: 155px;
  height: 48px;
  border-radius: 20px;
  background: var(--primary);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .16px;
  color: var(--white);
  transition: filter .18s;
  border: 0;
}
.w4-search button:hover { filter: brightness(1.06); }

.w4-tpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; width: 100%; }
.w4-tpl-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 0 20px rgba(0, 0, 0, .05);
  overflow: hidden;
}
.w4-tpl-thumb { height: 338px; overflow: hidden; position: relative; }
.w4-tpl-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 2.5s ease; }
.w4-tpl-card:hover .w4-tpl-thumb img { object-position: bottom; }
.w4-tpl-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.w4-tpl-card:hover .w4-tpl-overlay { opacity: 1; }
.w4-tpl-consult-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 32px; border-radius: 24px; background: var(--primary); color: var(--white); font-size: 16px; font-weight: 500; text-decoration: none; transform: translateY(20px); transition: transform 0.3s ease, background 0.2s ease; }
.w4-tpl-consult-btn:hover { background: var(--primary); color: var(--white); }
.w4-tpl-card:hover .w4-tpl-consult-btn { transform: translateY(0); }
.w4-tpl-body { display: flex; flex-direction: column; gap: 16px; padding: 8px 16px 16px; }
.w4-tpl-name { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: .16px; color: var(--text); text-align: center; }
.w4-tpl-price { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: .16px; color: red; }
.w4-tpl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 16px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .16px;
  color: var(--primary);
  transition: background .18s, color .18s;
}
.w4-tpl-btn:hover { background:var(--primary) ; color: var(--white); border-color: var(--primary); }

.w4-gallery-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 48px;
  border-radius: 57px;
  background: var(--primary);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .16px;
  color: var(--white);
  transition: filter .18s;
  border: 1px solid var(--primary);
}
.w4-gallery-more:hover { filter: brightness(1.06); }
.w4-gallery-more:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff;
}

.w4-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.w4-head h2 { margin: 0; font-size: 48px; font-weight: 700; line-height: 1.1; color: var(--text); }
.w4-head h2 .accent { color: var(--primary); }
.w4-head p { margin: 0; max-width: 900px; font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: .16px; color: var(--text); }
.w4-pad { width: 100%; padding-inline: max(24px, calc((100% - 1440px) / 2)); }
/* kho giao diện */
/* Responsive CTA Section */
@media screen and (max-width: 768px) {
    .cta-section {
        padding: 60px 20px;
        min-height: 320px;
    }

    .cta-section__title {
        font-size: 32px;
        line-height: 1.2;
    }

    .cta-section__subtitle {
        font-size: 16px;
    }

    .cta-section__btn {
        padding: 6px 6px 6px 20px;
    }

    .cta-section__btn-text {
        font-size: 15px;
    }

    .cta-section__btn-icon {
        width: 32px;
        height: 32px;
    }
    .pricing-wrap,
    .power-wrap,
    .industries-wrap {
        gap: 40px;
    }

    

    .plan-card {
        padding: 18px;
    }

    
    .plan-price span {
        font-size: 20px;
    }

    .pricing-cell.highlight {
        font-size: 17px;
    }
    .pricing-table-wrap {
        overflow-x: auto;
        padding: 36px 0 8px;
    }

    .pricing-table {
        width: 100%;
        overflow: auto;
        grid-template-columns: 220px 200px 200px 200px 200px 200px;
    }

    .pricing-logo {
        width: 120px;
        left: 6px;
        top: 0;
    }
    .pricing-feature-head,
    .plan-card {
        min-height: auto;
    }

    .pricing-row-label,
    .pricing-cell {
        font-size: 15px;
    }
    .plan-button {
        width: 85%;
        min-height: 40px;
    }
    .pricing-feature-head{
        font-size: 20px;
    }
    .plan-card h3{
        font-size: 20px;
        font-weight: 600;
    }
    .pricing-wrap{
        padding: 80px 0;
    }
    .pricing-heading p, .power-heading p{
        font-size: 16px;
    }

    .buy-credits-container .cta-section__content {
        gap: 10px;
    }

    .buy-credits-container.cta-section__container {
        max-width: 100%;
        width: 100%;
        flex-wrap: wrap;
        padding: 20px;
    }

    .buy-credits-container.cta-section__container p {
        margin: 0;
    }

    .buy-credits-container .credit-input-wrapper.show {
        margin-bottom: 10px;
    }
    .w4-head h2 { font-size: 30px; }
    .w4-gallery { padding-block: 56px; gap: 40px; }
    .w4-filter { flex-direction: column; }
    .w4-select { width: 100%; }
    .w4-search { width: 100%; max-width: none; }
    .w4-tpl-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MODULE 9: FAQ SECTION (Figma Node ID: 880-13856)
   ========================================================================== */

.faq-section {
    width: 100%;
    background-color: #FFFFFF;
    padding: 96px 24px;
    position: relative;
    overflow: hidden;
}

/* Background grid pattern */
.faq-section__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(74, 187, 169, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(74, 187, 169, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.faq-section__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.faq-section__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.faq-section__badge {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: #4ABBA9;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.faq-section__title {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 44px;
    line-height: 1.15;
    color: #1E232D;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Main Grid Layout */
.faq-section__grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 48px;
    width: 100%;
    align-items: start;
}

/* Left Column: Illustration & Support Box */
.faq-section__left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.faq-illustration-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-illustration__img {
    max-width: 340px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.faq-support-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #EAF4FE;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.faq-support-card__title {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: #1E232D;
    margin: 0;
}

.faq-support-card__desc {
    font-family: var(--font-family-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}

.faq-support-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #4ABBA9;
    color: #FFFFFF;
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 15px rgba(74, 187, 169, 0.3);
}

.faq-support-card__btn:hover {
    background-color: #38A190;
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(74, 187, 169, 0.45);
    color: #fff;
}

/* Right Column: Accordion List */
.faq-section__right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: #4ABBA9;
}

.faq-item--active {
    border-color: #4ABBA9;
    box-shadow: 0px 4px 20px rgba(74, 187, 169, 0.08);
}

.faq-item__header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-item__question {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    color: #1E232D;
    flex: 1;
}

.faq-item__toggle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
span.faq-item__toggle-icon svg {
    width: 22px;
    height: 22px;
}
.faq-item:hover .faq-item__toggle-icon {
    border-color: #4ABBA9;
    background-color: #F0FDFA;
}

/* Toggle minus/plus visibility & smooth rotation */
.faq-icon-horizontal,
.faq-icon-vertical {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    transform-origin: 12px 12px;
}

.faq-item--active .faq-icon-vertical {
    transform: rotate(90deg) scale(0);
    opacity: 0;
}

/* Drawer Content Answer */
.faq-item__content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, padding 0.35s ease;
}

.faq-item--active .faq-item__content {
    max-height: 250px;
    opacity: 1;
    padding: 0 24px 20px 24px;
}

.faq-item__answer {
    font-family: var(--font-family-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.faq-more {
    text-align: right;
    padding-top: 8px;
}

.faq-more__link {
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 16px;
    color: #4ABBA9;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.faq-more__link:hover {
    opacity: 0.8;
    transform: translateX(3px);
}

/* Responsive Media Queries */
@media screen and (max-width: 1024px) {
    .faq-section__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-section__left {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .faq-section {
        padding: 60px 16px;
    }

    .faq-section__title {
        font-size: 30px;
        line-height: 1.2;
    }

    .faq-item__header {
        padding: 16px 18px;
    }

    .faq-item__question {
        font-size: 15px;
    }

    .faq-item--active .faq-item__content {
        padding: 0 18px 16px 18px;
    }

    .faq-item__answer {
        font-size: 14px;
    }
}
