/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced container spacing */
.container > section:first-of-type {
    margin-top: 2rem;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.store-logo {
    max-width: 130px;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.user-name {
    color: var(--text-light);
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.15;
    pointer-events: none;
}

.hero-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-content p,
.hero-description {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-description {
    line-height: 1.8;
}

.hero-description h1,
.hero-description h2,
.hero-description h3,
.hero-description h4,
.hero-description h5,
.hero-description h6 {
    margin: 1rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-description p {
    margin: 0.5rem 0;
}

.hero-description ul,
.hero-description ol {
    margin: 0.5rem 0;
    padding-right: 2rem;
}

.hero-description a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.hero-description a:hover {
    color: var(--white);
}

.hero-description .custom-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.hero-description .custom-button:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.store-description .custom-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.store-description .custom-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.store-description {
    line-height: 1.8;
}

.store-description h1,
.store-description h2,
.store-description h3,
.store-description h4,
.store-description h5,
.store-description h6 {
    margin: 1rem 0 0.5rem 0;
    color: var(--text-color);
}

.store-description p {
    margin: 0.75rem 0;
}

.store-description ul,
.store-description ol {
    margin: 0.75rem 0;
    padding-right: 2rem;
}

.store-description li {
    margin: 0.5rem 0;
}

.store-description a {
    color: var(--primary-color);
    text-decoration: none;
}

.store-description a:hover {
    text-decoration: underline;
}

.store-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.store-description blockquote {
    border-right: 4px solid var(--primary-color);
    padding-right: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--text-light);
}

.store-description code {
    background: var(--bg-color);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.store-description pre {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.store-description pre code {
    background: none;
    padding: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 4rem 0;
}

.sites-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.sites-section .registration-notice,
.registration-notice {
    font-size: 1.1rem !important;
    color: #d97706 !important;
    text-align: center !important;
    margin: 1.5rem auto 2rem auto !important;
    max-width: 900px;
    padding: 1rem 1.5rem;
    line-height: 1.8;
    font-weight: 500;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Sites Grid */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.site-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
}

.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.site-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.site-card:hover::before {
    transform: scaleX(1);
}

.site-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
}

.site-image > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 1;
}

.site-image .site-image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.site-image .site-image-link:hover {
    opacity: 0.9;
}

.site-image .site-image-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.site-image .site-image-link:hover img {
    transform: scale(1.05);
}

.site-image-overlay-text {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    -webkit-transform: translate(-50%, -50%) !important;
    -moz-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    text-align: center !important;
    line-height: 1.4 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    z-index: 999 !important;
    pointer-events: none !important;
    margin: 0 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
}

.site-image:hover .site-image-overlay-text {
    background: rgba(0, 0, 0, 0.7) !important;
    transform: translate(-50%, -50%) scale(1.05) !important;
    -webkit-transform: translate(-50%, -50%) scale(1.05) !important;
    -moz-transform: translate(-50%, -50%) scale(1.05) !important;
    -ms-transform: translate(-50%, -50%) scale(1.05) !important;
}

.site-header-image {
    position: relative;
}

.site-header-image .site-image-link {
    display: inline-block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.site-header-image .site-image-link:hover {
    opacity: 0.9;
}

.site-header-image .site-image-link img {
    transition: transform 0.3s ease;
}

.site-header-image .site-image-link:hover img {
    transform: scale(1.02);
}

.site-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.site-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.site-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    min-height: 60px;
    flex-grow: 1;
}

.site-content .btn {
    align-self: center;
    margin-top: auto;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.package-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.package-card:hover::before {
    transform: scaleX(1);
}

/* الباقات غير النشطة */
.package-card.package-inactive {
    opacity: 0.6;
    filter: grayscale(0.3);
    position: relative;
}

.package-card.package-inactive:hover {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.package-card.package-inactive::before {
    background: linear-gradient(90deg, #999, #666);
}

.package-unavailable-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(185, 28, 28, 0.9));
    color: white;
    padding: 0.75rem 1rem;
    text-align: center;
    z-index: 10;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.package-unavailable-banner span {
    display: inline-block;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(255, 255, 255, 0.9);
}

.package-inactive .package-content h3,
.package-inactive .package-price,
.package-inactive .package-duration,
.package-inactive .package-description,
.package-inactive .package-features {
    opacity: 0.7;
}

.package-inactive .package-image img {
    opacity: 0.5;
}

.package-detail-page.package-inactive {
    opacity: 0.7;
}

.package-detail-page.package-inactive .package-detail-header,
.package-detail-page.package-inactive .package-description-section,
.package-detail-page.package-inactive .package-features-section {
    opacity: 0.8;
}

.package-detail-page.package-inactive .package-detail-image img {
    opacity: 0.6;
    filter: grayscale(0.3);
}

.btn:disabled,
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.package-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.package-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0 1rem 0;
    line-height: 1.2;
}

.package-duration {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.package-description {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}

.package-description h1,
.package-description h2,
.package-description h3,
.package-description h4,
.package-description h5,
.package-description h6 {
    margin: 1rem 0 0.5rem 0;
    color: var(--text-color);
    font-weight: 600;
}

.package-description p {
    margin: 0.75rem 0;
}

.package-description ul,
.package-description ol {
    margin: 0.75rem 0;
    padding-right: 2rem;
}

.package-description li {
    margin: 0.5rem 0;
}

.package-description a {
    color: var(--primary-color);
    text-decoration: none;
}

.package-description a:hover {
    text-decoration: underline;
}

.package-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.package-description blockquote {
    border-right: 4px solid var(--primary-color);
    padding-right: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--text-light);
}

.package-description code {
    background: var(--bg-color);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.package-description pre {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.package-description pre code {
    background: none;
    padding: 0;
}

.package-description strong,
.package-description b {
    font-weight: 600;
    color: var(--text-color);
}

.package-description em,
.package-description i {
    font-style: italic;
}

.package-description-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.package-description-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.package-description-section .package-description {
    margin: 0;
}

.package-features {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.feature-item {
    padding: 0.5rem 0;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.feature-item:first-child {
    padding-top: 0;
}

.feature-item:last-child {
    padding-bottom: 0;
}

.package-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-color);
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #d1d5db;
    font-size: 1.2rem;
}

.star.filled {
    color: #fbbf24;
}

.rating-value {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #475569;
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
}

.package-content .btn-block:first-of-type {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Forms */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.auth-card h1 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-card .registration-warning,
.registration-warning {
    font-size: 0.9rem !important;
    color: #dc2626 !important;
    text-align: center !important;
    margin: -1rem auto 1.5rem auto !important;
    padding: 0.75rem 1rem;
    line-height: 1.6;
    font-weight: 500;
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Checkout */
.checkout-page {
    padding: 2rem 0;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.order-summary {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.order-summary h2 {
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item.total {
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: none;
    margin-top: 0.5rem;
}

.payment-form {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.payment-method input {
    margin-left: 0.5rem;
}

/* Packages Section */
.packages-section {
    padding: 3rem 0;
    margin-top: 2rem;
}

/* Site Header */
.site-header {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    margin-bottom: 3rem;
    text-align: center;
}

.site-header h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: var(--text-color);
    font-weight: 700;
}

.site-header-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f4f6;
}

.site-header-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.site-description {
    color: var(--text-light);
    margin-top: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Package Detail */
.package-detail-page {
    padding: 2rem 0;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-decoration: none;
}

.package-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.package-detail-image {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f4f6;
}

.package-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.package-detail-info h1 {
    margin-bottom: 0.5rem;
}

.package-site-name {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.package-price-large {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.package-duration-large {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.package-rating-large {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.package-description-section,
.package-features-section,
.package-reviews-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.reviews-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.reviews-section-header h2 {
    margin: 0;
}

.toggle-reviews-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.toggle-reviews-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.toggle-reviews-btn i {
    transition: transform 0.3s;
}

.toggle-reviews-btn.collapsed i {
    transform: rotate(-90deg);
}

.reviews-content {
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    max-height: 5000px;
}

.reviews-content.collapsed {
    max-height: 0;
    padding: 0;
    margin: 0;
}

.features-list {
    margin-top: 1rem;
}

.add-review-form {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input .star-label {
    font-size: 2rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-input input[type="radio"]:checked ~ .star-label,
.rating-input .star-label:hover,
.rating-input .star-label:hover ~ .star-label {
    color: #fbbf24;
}

.reviews-list {
    margin-top: 2rem;
}

.review-item {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-comment {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.review-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Reviews Section on Homepage */
.reviews-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--bg-color), var(--white));
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    transform: scaleY(0);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.review-card:hover::before {
    transform: scaleY(1);
}

.review-card .review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-card .review-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-card .review-author strong {
    color: var(--text-color);
    font-size: 1.1rem;
}

.review-card .review-package {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-card .review-rating {
    display: flex;
    gap: 0.25rem;
}

.review-card .review-rating .star {
    font-size: 1.1rem;
}

.review-card .review-comment {
    color: var(--text-color);
    line-height: 1.7;
    margin: 1rem 0;
    font-style: italic;
}

.review-card .review-date {
    color: var(--text-light);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

/* Orders */
.orders-table {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.orders-table table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid var(--border-color);
}

.orders-table th {
    background: var(--bg-color);
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-active,
.status-badge.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.status-expired,
.status-badge.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.status-cancelled {
    background: #e5e7eb;
    color: #374151;
}

/* Footer */
.main-footer {
    background: var(--text-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    color: var(--white);
}

.footer-description {
    color: var(--white);
    opacity: 0.9;
    line-height: 1.7;
}

.footer-description p {
    margin-bottom: 0.75rem;
}

.footer-description a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-description a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-description .custom-button {
    display: block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-description .custom-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.footer-description ul,
.footer-description ol {
    margin: 0.5rem 0;
    padding-right: 1.5rem;
}

.footer-description li {
    margin: 0.25rem 0;
}

.footer-description h1,
.footer-description h2,
.footer-description h3,
.footer-description h4,
.footer-description h5,
.footer-description h6 {
    color: var(--white);
    margin: 0.75rem 0 0.5rem 0;
    font-weight: 600;
}

.footer-description img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 0.5rem 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s;
    opacity: 0.9;
}

.social-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon {
    font-size: 1.2rem;
    line-height: 1;
    width: 1.2rem;
    text-align: center;
}

.social-link i.fab,
.social-link i.fas {
    display: inline-block;
}

.social-text {
    font-size: 0.9rem;
}

.social-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.3);
}

.social-link.facebook:hover {
    background: rgba(24, 119, 242, 0.3);
}

.social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.3);
}

.social-link.twitter:hover {
    background: rgba(29, 161, 242, 0.3);
}

.social-link.email:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-link.phone:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.error-text {
    display: block;
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Terms Page */
.terms-page {
    max-width: 900px;
    margin: 2rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.terms-page h1 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.terms-content {
    line-height: 1.8;
}

.terms-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.terms-section:last-child {
    border-bottom: none;
}

.terms-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.terms-section p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.terms-section ul {
    margin: 1rem 0;
    padding-right: 2rem;
    color: var(--text-color);
}

.terms-section li {
    margin-bottom: 0.5rem;
}

.terms-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .terms-page {
        padding: 1.5rem;
    }
    
    .terms-actions {
        flex-direction: column;
    }
    
    .terms-actions .btn {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        right: 0;
        left: 0;
        background: var(--white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1.5rem;
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    
    .main-nav.open {
        display: flex;
        transform: translateX(0);
    }
    
    .main-nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }
    
    .main-nav a:last-child {
        border-bottom: none;
    }
    
    .main-nav .user-name {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        margin: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Overlay عند فتح القائمة */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .store-logo {
        max-width: 100px;
        max-height: 100px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 3rem 0;
        min-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .sites-grid,
    .packages-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .package-detail-header {
        grid-template-columns: 1fr;
    }
    
    .orders-table {
        overflow-x: auto;
    }
    
    .orders-table table {
        min-width: 800px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .store-logo {
        max-width: 80px;
        max-height: 80px;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
        min-height: 250px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .site-card,
    .package-card,
    .review-card {
        margin-bottom: 1rem;
    }
    
    .site-content,
    .package-content {
        padding: 1.5rem;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 1024px) {
    .sites-grid,
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .sites-grid,
    .packages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 3rem 0;
    min-height: calc(100vh - 300px);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-right: 1rem;
    border-right: 4px solid var(--primary-color);
}

.legal-section h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.legal-section .intro-text {
    font-size: 1.1rem;
    color: var(--text-color);
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 10px;
    border-right: 4px solid var(--primary-color);
    margin-bottom: 2rem;
}

.legal-section ul,
.legal-section ol {
    margin: 1rem 0;
    padding-right: 2rem;
    line-height: 1.8;
}

.legal-section ul li,
.legal-section ol li {
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.legal-section ul li strong,
.legal-section ol li strong {
    color: var(--primary-dark);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
    color: var(--text-light);
}

/* Back to Home Button */
.back-to-home {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.back-to-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.back-to-home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.back-to-home-btn i {
    font-size: 1.1rem;
}

.legal-footer p {
    margin-bottom: 0.5rem;
}

.legal-footer ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.legal-footer ul li {
    margin-bottom: 0.5rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--white);
    opacity: 1;
    padding-right: 0.5rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--white);
    opacity: 0.9;
}

.contact-info a {
    color: var(--white);
    opacity: 0.9;
}

.contact-info a:hover {
    opacity: 1;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* About Page Styles */
.about-page {
    padding: 3rem 0;
    min-height: calc(100vh - 300px);
}

.about-hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
}

.about-section p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 15px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.value-item h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-item p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 10px;
    transition: all 0.3s;
    border-right: 4px solid transparent;
}

.feature-item:hover {
    border-right-color: var(--primary-color);
    transform: translateX(-5px);
    box-shadow: var(--shadow);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.95rem;
}

/* Why Us List */
.why-us-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.why-us-list li {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: var(--bg-color);
    border-radius: 10px;
    border-right: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.why-us-list li:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow);
}

.why-us-list li i {
    color: var(--success-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.why-us-list li strong {
    color: var(--primary-dark);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--white) 100%);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-info-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-item h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.contact-info-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

.contact-page-item {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}

.contact-page-item i {
    color: var(--white) !important;
}

.contact-page-item h3 {
    color: var(--white) !important;
}

.contact-page-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-page-link-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-page-link-btn i {
    font-size: 0.9rem;
}

.contact-page-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.contact-page-link:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateX(-3px);
    color: var(--primary-dark);
}

.contact-page-link i {
    color: var(--primary-color);
    font-size: 1rem;
}

.legal-section .contact-page-link {
    margin-top: 0.5rem;
    display: inline-flex;
}

.social-links-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.social-links-section h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.social-links-section .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-links-section .social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-links-section .social-link.whatsapp {
    background: #25D366;
}

.social-links-section .social-link.facebook {
    background: #1877F2;
}

.social-links-section .social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-links-section .social-link.twitter {
    background: #1DA1F2;
}

.social-links-section .social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Responsive for Legal and About Pages */
@media (max-width: 768px) {
    .legal-content,
    .about-section {
        padding: 1.5rem;
    }
    
    .legal-content h1,
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero {
        padding: 2rem 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .values-grid,
    .features-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-section h2,
    .about-section h2 {
        font-size: 1.3rem;
    }
}

