/* ========================================
   UNIFIED PAGE DESIGN SYSTEM
   All Numerology and Content Pages
   ======================================== */

/* ========================================
   BODY & PAGE BACKGROUND
   ======================================== */
body {
    background: radial-gradient(circle at 16% 20%, rgba(193, 134, 241, 0.08), rgba(193, 134, 241, 0) 44%),
                radial-gradient(circle at 84% 80%, rgba(168, 124, 236, 0.06), rgba(168, 124, 236, 0) 40%),
                linear-gradient(140deg, #faf8fc 0%, #f8f6fb 42%, #fcfaf7 100%);
    background-attachment: fixed;
}

/* ========================================
   HERO SECTION - UNIFIED STYLE
   ======================================== */
.page-hero,
.numerology-hero,
.content-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 16% 20%, rgba(193, 134, 241, 0.18), rgba(193, 134, 241, 0) 44%),
                radial-gradient(circle at 84% 26%, rgba(168, 124, 236, 0.14), rgba(168, 124, 236, 0) 40%),
                linear-gradient(140deg, #f4eefb 0%, #efe4fa 42%, #f3ede5 100%);
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.page-hero h1,
.numerology-hero h1,
.content-hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.2rem);
    font-weight: 800;
    background: linear-gradient(145deg, #5B3C8F, #8A5BA3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
}

.page-hero p,
.numerology-hero p,
.content-hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    background: linear-gradient(145deg, #6a4a8a, #9a7ab0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-align: center;
    font-weight: 600;
    margin-top: 0.8rem;
    margin-bottom: 0;
}

.page-hero-breadcrumb,
.hero-breadcrumb {
    font-size: 0.85rem;
    color: rgba(91, 60, 143, 0.7);
    margin-bottom: 1rem;
    text-align: center;
}

.page-hero-breadcrumb a,
.hero-breadcrumb a {
    color: rgba(91, 60, 143, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-hero-breadcrumb a:hover,
.hero-breadcrumb a:hover {
    color: #5B3C8F;
}

/* ========================================
   CONTENT CONTAINER & SECTIONS
   ======================================== */
.content-container,
.page-content,
.article-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* ========================================
   SECTION TITLES (H2)
   ======================================== */
.page-content h2,
.content-container h2,
.article-container h2,
article h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    background: linear-gradient(145deg, #5B3C8F, #8A5BA3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin: 2rem 0 1.2rem 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* ========================================
   PARAGRAPH & TEXT STYLES
   ======================================== */
.page-content p,
.content-container p,
.article-container p,
article p {
    font-size: 1rem;
    color: #4a3b5c;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.page-content strong,
article strong {
    color: #3d3d46;
    font-weight: 700;
}

/* ========================================
   LISTS
   ======================================== */
.page-content ul,
.content-container ul,
.article-container ul,
article ul {
    list-style-position: outside;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    space: 0.8rem;
}

.page-content li,
.content-container li,
.article-container li,
article li {
    color: #4a3b5c;
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

/* ========================================
   CARDS & CONTENT BLOCKS
   ======================================== */
.content-card,
.section-card,
.info-box,
.feature-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 1.8rem;
    padding: 2.2rem;
    margin-bottom: 1.8rem;
    box-shadow: 0 10px 40px -10px rgba(90, 60, 130, 0.12);
    transition: all 0.4s cubic-bezier(0.15, 0.75, 0.3, 1.2);
}

.content-card:hover,
.section-card:hover,
.info-box:hover,
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px -15px rgba(90, 60, 130, 0.2);
    border-color: rgba(91, 60, 143, 0.15);
}

/* ========================================
   TABLES
   ======================================== */
.page-content table,
article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 4px 12px -8px rgba(90, 60, 130, 0.1);
}

.page-content thead,
article thead {
    background: linear-gradient(145deg, #5B3C8F, #8A5BA3);
    color: white;
}

.page-content th,
article th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
}

.page-content td,
article td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: #4a3b5c;
    font-size: 0.95rem;
}

.page-content tbody tr:last-child td,
article tbody tr:last-child td {
    border-bottom: none;
}

.page-content tbody tr:hover,
article tbody tr:hover {
    background-color: rgba(193, 134, 241, 0.04);
}

/* ========================================
   CALL-TO-ACTION BUTTONS
   ======================================== */
.cta-button,
.action-button {
    display: inline-block;
    background: linear-gradient(145deg, #5B3C8F, #8A5BA3);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px -8px rgba(91, 60, 143, 0.3);
}

.cta-button:hover,
.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(91, 60, 143, 0.4);
}

.cta-button:active,
.action-button:active {
    transform: translateY(0);
}

/* ========================================
   FORM STYLES
   ======================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #3d3d46;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border: 1px solid rgba(91, 60, 143, 0.15);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.7);
    color: #3d3d46;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(91, 60, 143, 0.4);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(91, 60, 143, 0.1);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .page-hero,
    .numerology-hero,
    .content-hero {
        min-height: 220px;
        padding: 2rem 1.25rem;
    }

    .page-hero h1,
    .numerology-hero h1,
    .content-hero h1 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .content-container,
    .page-content,
    .article-container {
        padding: 2rem 1rem;
    }

    .page-content table,
    article table {
        font-size: 0.85rem;
    }

    .page-content th,
    article th {
        padding: 0.75rem 0.5rem;
    }

    .page-content td,
    article td {
        padding: 0.6rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .page-hero,
    .numerology-hero,
    .content-hero {
        min-height: 180px;
        padding: 1.5rem 1rem;
    }

    .page-content ul,
    .content-container ul,
    .article-container ul,
    article ul {
        margin-left: 1.25rem;
    }

    .cta-button,
    .action-button {
        width: 100%;
        text-align: center;
    }
}
