.playbook-results-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    /* padding: 0 20px 40px 0; */
}

/* Header Section - NEW STYLING */
.results-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.results-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.results-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.results-header .subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 30px 0 10px 0;
}

.results-header .subtitle-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.target-icon {
    display: none;
}

/* Table Wrapper */
.results-table-wrapper {
    margin-bottom: 40px;
    overflow-x: auto;
}

/* Table Styles */
.playbook-results-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.playbook-results-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
}

.playbook-results-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    background: #5736fd;
}

.playbook-results-table th:nth-child(2) {
    text-align: center;
    width: 140px;
}

.playbook-results-table th:nth-child(3) {
    width: 250px;
}

.playbook-results-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.playbook-results-table tbody tr:hover {
    background-color: #f8f9fa;
}

.playbook-results-table tbody tr:last-child {
    border-bottom: none;
}

.playbook-results-table tbody tr:nth-child(2n) td {
    background: #F4EBF6;
}

.playbook-results-table td {
    padding: 20px;
    vertical-align: top;
    font-size: 14px;
    color: #333;
}

/* Playbook Name Cell */
.playbook-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.playbook-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #6366f1;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.playbook-name span:last-child {
    font-weight: 500;
    color: #000;
    line-height: 1.4;
}

/* Percentage Cell */
.percentage-cell {
    text-align: center;
    padding: 20px 16px !important;
}

.percentage-value {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.percentage-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.percentage-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Triggers Cell */
.triggers-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: flex-start;
}

.trigger-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    background: #d8effc;
    color: #374151;
    border-radius: 4px;
    white-space: nowrap;
}

/* Rationale Cell */
.rationale-cell {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

/* SFR Middle Section - UPDATED DESIGN */
.sfr-middle {
    background: linear-gradient(135deg, #066aab 0%, #0891d4 100%);
    background: linear-gradient(135deg, #154bc3 0%, #b977f9 100%);
    padding: 50px 40px;
    border-radius: 16px;
    text-align: center;
    margin: 60px 0;
    box-shadow: 0 8px 24px rgba(6, 106, 171, 0.2);
    position: relative;
    overflow: hidden;
}

.sfr-middle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.sfr-middle .text1 {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.sfr-middle .text2 {
    display: none;
}

.sfr-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.sfr-feature-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.sfr-feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sfr-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.3s ease;
}

.sfr-feature-item:hover .sfr-feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: #fff;
}

.sfr-feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .sfr-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .sfr-middle {
        padding: 40px 20px;
    }
    
    .sfr-middle .text1 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .sfr-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .sfr-feature-item {
        padding: 25px 15px;
    }
    
    .sfr-feature-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

/* Profile Summary Section */
.profile-summary {
    background: #ffffff;
    /* background: linear-gradient(135deg, #F4EBF6 0%, #E8F2F8 100%); */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
    margin-top: 20px;
    
}

.profile-summary h4 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 20px 0;
}

.profile-summary h5 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 32px 0 16px 0;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

/* Rationale Grid */
.rationale-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 24px;
}

.rationale-grid > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 14px;
    color: #666;
}

.rationale-grid > div span {
    color: #232323;
}

.rationale-grid > div strong {
    color: #5736fd;
    font-weight: 600;
    font-size: 16px;
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.summary-grid > div {
    padding: 12px 0;
    font-size: 14px;
    line-height: 1.5;
}

.summary-grid > div:nth-child(4),
.summary-grid > div:nth-child(5) {
    grid-column: span 1;
}

.summary-grid strong {
    color: #000;
    font-weight: 600;
    display: inline-block;
    margin-right: 4px;
}

/* Feedback Form Section - NEW */
.feedback-section {
    background: #fff;
    border: 2px solid #f4ebf6;
    border-radius: 12px;
    padding: 40px;
    margin: 60px auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
}

.feedback-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0 0 24px 0;
    text-align: center;
}

.feedback-form {
    max-width: 600px;
    margin: 0 auto;
}

.feedback-rating {
    text-align: center;
    margin-bottom: 32px;
}

.feedback-rating label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.strategic-star-rating {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 48px;
    line-height: 1;
}

.strategic-star-rating .star {
    cursor: pointer;
    color: #e0e0e0;
    transition: all 0.2s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.strategic-star-rating .star:hover {
    color: #ffc107;
    transform: scale(1.15);
}

.strategic-star-rating .star.active {
    color: #ffc107;
    transform: scale(1.1);
}

.feedback-question {
    margin-bottom: 24px;
}

.feedback-question label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    text-align: center;
}

.feedback-question .business-url {
    color: #5736fd;
    font-weight: 700;
}

.feedback-options {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.feedback-option {
    flex: 1;
    max-width: 200px;
}

.feedback-option input[type="radio"] {
    display: none;
}

.feedback-option label {
    display: block;
    padding: 16px 24px;
    border: 2px solid #9778c2;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.feedback-option input[type="radio"]:checked + label {
    background: #5736fd;
    color: #fff;
    border-color: #5736fd;
}

.feedback-option label:hover {
    border-color: #5736fd;
}

.feedback-submit {
    text-align: center;
    margin-top: 32px;
}

.feedback-submit button {
    padding: 16px 48px;
    background: #5736fd;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.feedback-submit button:hover {
    background: #4527e0;
}

.feedback-submit button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.feedback-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.feedback-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.feedback-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error-message {
    color: #d63637;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Buttons */
.playbook-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #5736fd;
    color: white;
}

.btn-primary:hover {
    color: #000;
}
.feedback-submit button:focus {
    background: #5736fd;
    color: #fff;
}

.scroll-indicator2 {
    text-align: center;
}
.scroll-icon {
    display: inline-block;
    width: 50px;
    height: 80px;
    background: url(../images/scroll-down.svg) no-repeat 0;
    background-size: contain;
}
.scroll-text {
    text-transform: uppercase;
    font-size: 14px;
}
.scroll-down-middle {
    text-align: center;
}
.scroll-down-middle > span {
    font-size: 20px;
    display: inline-block;
    margin-bottom: 22px;
    font-weight: 700;
    color: #5736FD;
}
.sfr-middle a {
    display: inline-block;
    background: #5736fd;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 9;
    color: #fff;
    box-shadow: 0 2px 5px rgb(255 255 255 / 26%);
}
h2.strategic-title2 {
    text-align: center;
    margin-bottom: 0;
    font-size: 50px;
    font-weight: 900;
    color: #000000;
}
.feedback-question > label {
    font-size: 30px;
}
.feedback-question {
    background: #f3ebf6;
    padding: 30px;
    border-radius: 20px;
}
.results-table-wrapper h2 {
    font-size: 50px;
    font-weight: 900;
    color: #000000;
    text-align: center;
}
.results-table-wrapper {
    background: #ebf0f7;
    padding: 40px 0;
}
.final-result {
    background: #ebf0f7;
    padding: 50px 0 80px;
}
/* Textarea Section */
.feedback-textarea {
    margin-top: 32px;
    margin-bottom: 24px;
}

.feedback-textarea label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    text-align: left;
}

.feedback-textarea .optional-label {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    font-style: italic;
}

.feedback-textarea textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.6;
    color: #333;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s;
        background: #fff;
}

.feedback-textarea textarea:focus {
    outline: none;
    border-color: #5736fd;
    box-shadow: 0 0 0 3px rgba(87, 54, 253, 0.1);
}

.feedback-textarea textarea::placeholder {
    color: #999;
}
.playbook-results-container .container {
    max-width: 1280px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .results-header {
        padding: 40px 20px;
    }
    
    .results-header h1 {
        font-size: 32px;
    }
    
    .results-header p {
        font-size: 14px;
    }
    
    .sfr-middle {
        padding: 30px 20px;
    }
    
    .sfr-middle .text1 {
        font-size: 22px;
    }
    
    .sfr-middle .text2 {
        font-size: 16px;
    }
    
    .playbook-results-table {
        display: block;
        overflow-x: auto;
    }
    
    .playbook-results-table th,
    .playbook-results-table td {
        padding: 12px;
        font-size: 13px;
    }
    
    .playbook-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid > div:nth-child(4),
    .summary-grid > div:nth-child(5) {
        grid-column: span 1;
    }
    
    .profile-summary {
        padding: 20px;
    }
    
    .feedback-section {
        padding: 24px 16px;
    }
    
    .feedback-options {
        flex-direction: column;
    }
    
    .feedback-option {
        max-width: 100%;
    }
    h2.strategic-title2 {
    font-size: 30px;
    }

    .results-table-wrapper h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .playbook-results-container {
        padding: 20px 10px;
    }
    
    .results-header h1 {
        font-size: 24px;
    }
    
    .playbook-name {
        flex-direction: row;
        gap: 8px;
    }
    
    .trigger-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
}


@media (max-width: 768px) {
    .feedback-textarea label {
        font-size: 16px;
    }
    
    .feedback-textarea textarea {
        font-size: 14px;
        padding: 14px;
    }
}