/* Hide Twenty Twenty-One default header/footer on homepage */
.home header,
.home footer {
    display: none !important;
}
/* Make Elementor full width */
.page .site,
.page .site-main,
.page .entry-content,
.page .wp-block-group {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* --- Fix layout: force 3 equal columns --- */
.ai-pricing {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 28px !important;
    padding: 40px 20px !important;
    justify-items: center;
}

/* Cards */
.ai-pricing > div {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: all .25s ease;
    position: relative;
}

.ai-pricing > div:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.07);
}

/* Titles */
.ai-pricing h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}
.ai-pricing p strong {
    font-size: 34px;
}
.ai-pricing p { text-align: center; color: #475569; }

/* Features */
.ai-pricing ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.ai-pricing ul li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #475569;
}
.ai-pricing ul li::before {
    content: "✔";
    color: #2563eb;
    font-weight: 700;
    margin-right: 10px;
}

/* Buttons */
.ai-pricing button,
.ai-pricing .button {
    width: 100%;
    padding: 12px 0;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 600;
    margin-top: 10px;
}

/* Monthly – Featured */
.ai-pricing > div:nth-child(2) {
    border: 2px solid #2563eb !important;
    background: #eff6ff !important;
}

.ai-pricing > div:nth-child(2)::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    right: 20px;
    background: #2563eb;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

/* Annual */
.ai-pricing > div:nth-child(3)::before {
    content: "Save 20%";
    position: absolute;
    top: -12px;
    left: 20px;
    background: #dcfce7;
    color: #166534;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

/* Disabled button */
.ai-pricing button[disabled] {
    background: #cbd5e1 !important;
    color: #475569 !important;
}

/* Upgrade buttons */
.ai-upgrade-btn {
    background: #2563eb !important;
    color: #fff !important;
}
.ai-upgrade-btn:hover {
    background: #1d4ed8 !important;
}

/* Annual button style */
.ai-pricing > div:nth-child(3) .ai-upgrade-btn {
    background: #0f172a !important;
}
.ai-pricing > div:nth-child(3) .ai-upgrade-btn:hover {
    background: #1e293b !important;
}

/* Mobile */
@media (max-width: 820px) {
    .ai-pricing {
        grid-template-columns: 1fr;
    }
}

/* Wrapper */
.ccai-account-wrapper {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  background: #ffffff;
}

/* Card */
.ccai-account-card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 22px;
  padding: 40px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 35px rgba(0,0,0,0.06);
  animation: fadeIn .3s ease-out;
}

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

/* Title */
.ccai-account-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  color: #0f172a;
  margin-bottom: 25px;
}

/* Status Row */
.ccai-account-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.ccai-account-email {
  font-size: 16px;
  color: #334155;
}

/* Status Badges */
.ccai-status-badge {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.ccai-status-badge.free {
  background: #f1f5f9;
  color: #475569;
}

.ccai-status-badge.pro {
  background: #2563eb;
  color: white;
}

/* Divider Line */
.ccai-account-divider {
  height: 1px;
  width: 100%;
  background: #e2e8f0;
  margin: 25px 0;
}

/* Buttons */
.ccai-account-actions a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}

/* Upgrade Button */
.ccai-upgrade-btn {
  background: #2563eb;
  color: white;
}

.ccai-upgrade-btn:hover {
  background: #1d4ed8;
}

/* Manage Subscription Button */
.ccai-manage-btn {
  background: #0f172a;
  color: white;
}

.ccai-manage-btn:hover {
  background: #1e293b;
}

/* Logout */
.ccai-logout-btn {
  background: #f1f5f9;
  color: #475569;
}

.ccai-logout-btn:hover {
  background: #e2e8f0;
}

