/* =========================================================
   BACKGROUND
========================================================= */
.background-wrapper {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.background {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    filter: blur(0.8px);
    transition: opacity 0.5s ease;
}

[data-theme="dark"] .background {
    opacity: 0.08;
}

/* =========================================================
   CONTENT WRAPPER
========================================================= */
.content-wrapper {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    background-color: rgba(var(--bg-rgb), 0.85);
}

/* =========================================================
   SECTIONS / CONTENT
========================================================= */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.page-content {
    margin-top: 2rem;
    padding: 3rem;
    border-radius: 15px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

/* =========================================================
   PRICE TABLE
========================================================= */
.price-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.price-table th,
.price-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.price-table th {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 600;
}

.price-table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.03);
}

.price-table tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

/* =========================================================
   THEME TOGGLE
========================================================= */
.theme-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin-left: 1rem;
}

.theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 34px;
    transition: 0.4s;
}

.slider::before {
    content: "";
    position: absolute;
    left: 4px;
    bottom: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider::before {
    transform: translateX(30px);
}

/* =========================================================
   REVIEWS
========================================================= */
.reviews-container {
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 2.5rem;
    border-radius: 15px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--accent);
    overflow: hidden;
}

.review-card::before {
    content: "“";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(67, 97, 238, 0.05);
    line-height: 1;
}

.review-author {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.review-position {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.review-divider {
    height: 1px;
    margin: 1.5rem 0;
    background: linear-gradient(90deg, var(--primary), transparent);
    border: none;
}

.review-date {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    text-align: right;
    color: var(--text-light);
}

/* =========================================================
   FEEDBACK FORM
========================================================= */
.feedback-form {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2.5rem;
    border-radius: 15px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--text-light);
    background: var(--card-bg);
    color: var(--text);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.error-message,
.success-message {
    display: none;
    margin-top: 0.3rem;
    font-size: 0.8rem;
}

.success-message {
    text-align: center;
}

/* =========================================================
   PAGINATION
========================================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination button {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: var(--card-bg);
    border: 1px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
}

.pagination button.active {
    background: var(--primary);
    color: #fff;
}

.pagination button:hover:not(.active) {
    background: rgba(67, 97, 238, 0.1);
}
