/* ===========================
   HERO SECTION
   =========================== */
.hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(160deg, #fef2f2 0%, #f8fafc 40%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef2f2;
    color: #dc2626;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid #fecaca;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--color-text);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--color-text-light);
    font-size: 0.8125rem;
    font-weight: 500;
}

.hero-badges .badge svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Hero document preview */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero-document {
    background: #fff;
    border-radius: 12px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 20px 40px -8px rgba(220, 38, 38, 0.12),
        0 0 0 1px rgba(220, 38, 38, 0.08);
    width: 100%;
    max-width: 380px;
    position: relative;
    transform: rotateY(-3deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.hero-document:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.hero-doc-header {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.hero-doc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
}

.hero-doc-dot:first-child { background: #fca5a5; }
.hero-doc-dot:nth-child(2) { background: #fde68a; }
.hero-doc-dot:nth-child(3) { background: #86efac; }

.hero-doc-body {
    padding: 20px;
}

.hero-doc-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 2px;
}

.hero-doc-date {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 16px;
}

.hero-doc-section {
    margin-bottom: 14px;
}

.hero-doc-section-title {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--color-primary);
    margin-bottom: 8px;
}

.hero-doc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hero-doc-card {
    background: #f8fafc;
    padding: 8px 10px;
    border-radius: 6px;
}

.hero-doc-label {
    font-size: 0.625rem;
    color: var(--color-text-muted);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hero-doc-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text);
}

.hero-doc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.75rem;
    color: var(--color-text);
}

.hero-doc-row:last-child {
    border-bottom: none;
}

.hero-doc-state {
    font-weight: 600;
    font-size: 0.6875rem;
    padding: 1px 8px;
    border-radius: 9999px;
}

.hero-doc-state.good {
    background: #ecfdf5;
    color: #059669;
}

.hero-doc-state.warning {
    background: #fffbeb;
    color: #d97706;
}

.hero-doc-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dc2626;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Hero stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--color-border);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.025em;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* ===========================
   STEPS SECTION
   =========================== */
.steps-section {
    padding: 5rem 0;
    background: #fff;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    text-align: center;
    padding: 2rem 1.75rem;
    background: var(--color-surface);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    position: relative;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 300px;
}

.step-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px -4px rgba(220, 38, 38, 0.12);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-icon--red {
    background: #fef2f2;
    color: #dc2626;
}

.step-icon--amber {
    background: #fffbeb;
    color: #d97706;
}

.step-icon--green {
    background: #ecfdf5;
    color: #059669;
}

.step-icon--blue {
    background: #eff6ff;
    color: #2563eb;
}

.step-icon--purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 3rem;
}

.step-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===========================
   FEATURES SECTION
   =========================== */
.features-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon--red { background: #fef2f2; color: #dc2626; }
.feature-icon--amber { background: #fffbeb; color: #d97706; }
.feature-icon--blue { background: #eff6ff; color: #2563eb; }
.feature-icon--green { background: #ecfdf5; color: #059669; }
.feature-icon--purple { background: #f5f3ff; color: #7c3aed; }
.feature-icon--teal { background: #f0fdfa; color: #0d9488; }

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===========================
   PRICING SECTION
   =========================== */
.pricing-section {
    padding: 5rem 0;
    background: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.pricing-card-popular {
    border: 2px solid var(--color-primary);
    box-shadow: 0 8px 24px -4px rgba(220, 38, 38, 0.15);
    transform: scale(1.03);
}

.pricing-card-popular:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 12px 32px -4px rgba(220, 38, 38, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
}

.pricing-header h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.025em;
    line-height: 1;
}

.pricing-period {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.75rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--color-text);
}

.pricing-features li.included svg {
    color: #059669;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--color-text-muted);
}

.pricing-features li.disabled svg {
    color: #d1d5db;
    flex-shrink: 0;
}

/* ===========================
   FAQ SECTION
   =========================== */
.faq-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

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

.faq-item.open {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.125rem 1.25rem;
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}

.faq-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.faq-item.open .faq-arrow {
    background: var(--color-primary-bg);
    color: var(--color-primary);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, #7f1d1d 0%, #dc2626 50%, #ef4444 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
    font-size: 1rem;
    padding: 0.875rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ===========================
   SECTION TITLES (duplicate for specificity)
   =========================== */
.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    font-size: 1.0625rem;
}
