/* Account Types Page Styles */

/* Hero Section */
.account-hero {
    background: linear-gradient(135deg, #1a2830 0%, #222c30 100%);
    /* LAYOUT SYSTEM: padding-top = var(--hero-padding-top) from layout-system.css */
  /* TRANSITION: was 150px (magic number) — now token-driven */
  padding: var(--hero-padding-top, 175px) 0 70px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.account-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 69, 33, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.account-tag {
    display: inline-block;
    background: rgba(255, 69, 33, 0.1);
    color: #FF4521;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 69, 33, 0.2);
}

.account-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}

.account-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Comparison Section */
.comparison-section {
    padding: var(--space-xxl) 0;
    background-color: #fff;
}

.section-label {
    color: #FF4521;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a2830;
    margin-bottom: 20px;
}

.section-sub {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 60px;
}

/* Comparison Table */
.comparison-table-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #eee;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: #f8f9fa;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 2px solid #eee;
}

.comparison-table th.feature-col {
    text-align: left;
    width: 30%;
    color: #1a2830;
    font-weight: 700;
}

.comparison-table th.account-col {
    width: 35%;
}

.account-header-card {
    padding: 10px;
}

.account-header-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #1a2830;
}

.account-header-card .badge {
    background: #FF4521;
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
    color: #444;
    font-size: 1rem;
}

.comparison-table td.feature-name {
    text-align: left;
    font-weight: 600;
    color: #1a2830;
    background: #fcfcfc;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .highlight-val {
    color: #FF4521;
    font-weight: 700;
}

.comparison-table .check-icon {
    color: #28a745;
    font-size: 1.2rem;
}

/* Account Detail Cards */
.detail-section {
    padding: var(--space-xxl) 0;
    background-color: #f7f9fa;
}

.account-detail-card {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.account-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.account-detail-card.featured {
    border-top: 5px solid #FF4521;
}

.detail-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 69, 33, 0.1);
    color: #FF4521;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.account-detail-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a2830;
}

.account-detail-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.detail-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    color: #444;
    font-weight: 500;
}

.detail-list li:last-child {
    border-bottom: none;
}

.detail-list li i {
    color: #FF4521;
    margin-right: 15px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 991px) {
    .account-hero-title {
        font-size: 2.8rem;
    }
    .comparison-table th.feature-col, .comparison-table td.feature-name {
        width: 40%;
    }
}

@media (max-width: 767px) {
    .account-hero {
        padding: 80px 0 60px;
        text-align: center;
    }
    .account-hero-title {
        font-size: 2.2rem;
    }
    .account-hero-desc {
        margin: 0 auto 30px;
    }
    .comparison-table-container {
        overflow-x: auto;
    }
    .comparison-table {
        min-width: 600px;
    }
    .account-detail-card {
        padding: 30px;
        margin-bottom: 30px;
    }
}

/* ============================================================
   INLINE STYLE REPLACEMENTS (v39 — Design System migration)
   Moved from inline HTML styles to CSS classes
   ============================================================ */

/* Background icon — large decorative */
.icon-bg-xl {
  font-size: 180px;
  color: var(--color-primary-light);
  display: block;
  margin-bottom: var(--space-md);
}

/* Feature icon — small inline */
.icon-feature-sm {
  font-size: 1.5rem;
  color: var(--color-primary);
}

/* CTA section — dark variant */
.cta-section--dark {
  background: var(--color-dark-base);
  border-top: 3px solid var(--color-primary);
}
