/* SECTION 6: THE PRICING MATRIX */
.pricing-section {
    padding: 140px 0;
    background-color: #EDF2F7; 
    position: relative;
    overflow: hidden;
}

/* Grid Pattern Overlay */
.pricing-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using Primary color with very low opacity for the grid lines to create contrast */
    background-image: 
        linear-gradient(rgba(64, 56, 122, 0.05) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(64, 56, 122, 0.05) 1px, transparent 1px);
    background-size: 45px 45px;
    z-index: 1;
    pointer-events: none;
}

.pricing-header {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 80px;
}

.pricing-header .section-head {
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 42px; 
    line-height: 1.2;
    color: var(--primary); 
    text-transform: uppercase;
    margin: 0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(64, 56, 122, 0.1); 
    position: relative;
    z-index: 10;
}

/* Header Adjustments */
.pricing-table th {
    padding: 50px 20px;
    font-family: 'League Spartan', sans-serif;
    text-transform: uppercase;
    vertical-align: bottom;
}

/* Plan Names: Accent Color & Bigger */
.plan-name {
    display: block;
    color: var(--accent); /* #A095EE */
    font-size: 24px; /* Increased size */
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* "Feature" Header: Bigger */
.col-feature-head { 
    background-color: #F8FAFC; 
    color: var(--primary); 
    text-align: left; 
    padding-left: 40px !important; 
    font-size: 22px !important; /* Scaled up from standard */
}

.col-startup-head { background-color: #40387A; color: #FFFFFF; }
.col-pro-head { background-color: #4A418C; color: #FFFFFF; }
.col-agency-head { background-color: #40387A; color: #FFFFFF; }

.price-tag {
    display: block;
    font-size: 32px;
    color: #FFFFFF; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Row Styling: Feature names Left, Details Centered */
.pricing-table td {
    padding: 25px 40px;
    border-bottom: 1px solid #F1F5F9;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #475569;
    text-align: center; /* This centers all detail columns (Startup, Pro, Agency) */
}

/* Specifically keep only the first column (Feature names) aligned left */
.pricing-table td:first-child {
    text-align: left;
    font-weight: 400; /* Optional: makes the feature name stand out more */
}

/* Ensure the table headers for the plans are also centered */
.pricing-table th:not(.col-feature-head) {
    text-align: center;
}

/* Specific styling for column coloring (Pro Column) */
.col-pro-body {
    background-color: #4A418C;
    color: #FFFFFF !important;
}

/* 1. Ensure the trigger is a relative base for the tooltip */
.tooltip-trigger {
    cursor: help;
    border-bottom: 1px dotted var(--accent);
    position: relative;
    display: inline-block;
}

/* 2. The Tooltip Box */
.tooltip-trigger:hover::after {
    content: attr(data-tooltip); /* THIS IS THE KEY: It grabs your HTML text */
    position: absolute;
    bottom: 140%; /* Sits above the text */
    left: 50%;
    transform: translateX(-50%);
    background: #1E293B; /* Dark professional slate */
    color: #FFFFFF;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    width: 220px; /* Fixed width so it wraps nicely */
    white-space: normal;
    text-align: center;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    pointer-events: none; /* Prevents the tooltip from flickering */
}

/* 3. The Little Arrow Pointing Down */
.tooltip-trigger:hover::before {
    content: "";
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #1E293B transparent transparent transparent;
    z-index: 999;
}

/* Keep Rest the same (Buttons, Checkmarks) */
.btn-select {
    display: inline-block;
    padding: 15px 30px;
    background: #40387A;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    text-transform: uppercase;
}
.col-pro-body .btn-select { background: #A095EE; }