@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap&family=Cairo:slnt,wght@-11..11,200..1000&family=Rubik:wght@300..900');

:root {
    --bg-dark-950: #030712;
    --bg-dark-900: #111827;
    --bg-dark-800: #1f2937;
    --primary-amber: #f59e0b;
    --primary-amber-dark: #d97706;
    --text-white: #ffffff;
    --text-gray-100: #f3f4f6;
    --text-gray-300: #d1d5db;
    --text-gray-400: #9ca3af;
    --gradient-gold: linear-gradient(135deg, #fbbf24, #d97706);

    --font-main: "Tajawal", sans-serif;

    --transition: all 0.3s ease;
    --shadow-lg:
        0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glass: rgba(17, 24, 39, 0.7);
    --glass: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Alert Colors */
    --danger: #ef4444;
    --success: #10b981;
    --info: #3b82f6;
    --warning: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark-950);
    color: var(--text-gray-100);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Utilities */
.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-desc {
    text-align: center;
    color: var(--text-gray-400);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-dark-950);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-gray-100);
    color: var(--text-white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition:
        background-color 0.3s ease,
        padding 0.3s ease,
        border-color 0.3s ease,
        backdrop-filter 0.3s ease;
    padding: 1rem 0;
    border-bottom: 1px solid transparent;
    background-color: transparent;
}

.header.scrolled,
.header.menu-active {
    background-color: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    border-bottom-color: var(--glass-border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    color: var(--text-white);
}

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

.nav-list {
    display: flex;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: var(--text-gray-300);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-amber);
}

.nav-cta {
    margin-right: auto;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            var(--bg-dark-950),
            rgba(3, 7, 18, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-amber);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray-300);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-amber);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray-400);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-amber);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Sections */
.section {
    padding: 5rem 0;
}

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

.car-card {
    background: var(--bg-dark-900);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--bg-dark-800);
    transition: var(--transition);
}

.car-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-amber);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .card-image {
    transform: scale(1.1);
}

.price-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--primary-amber);
    color: var(--bg-dark-950);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--bg-dark-800);
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-gray-400);
}

.spec-item svg {
    color: var(--primary-amber);
    width: 20px;
    height: 20px;
}

/* Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-dark-900);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--bg-dark-800);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--bg-dark-800);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-gray-400);
    font-size: 0.9rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-container,
.contact-info {
    background: linear-gradient(145deg,
            rgba(17, 24, 39, 0.9),
            rgba(31, 41, 55, 0.7));
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--bg-dark-800);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-title,
.info-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-gray-300);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(17, 24, 39, 0.6);
    border: 2px solid rgba(156, 163, 175, 0.3);
    border-radius: 0.75rem;
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray-400);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 1.25rem;
    padding-left: 2.5rem;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(156, 163, 175, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-amber);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
    background: rgba(17, 24, 39, 0.8);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-amber);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-list h4 {
    color: var(--text-gray-100);
    margin-bottom: 0.25rem;
}

.info-list p {
    color: var(--text-gray-400);
}

/* Footer */
.footer {
    background: var(--bg-dark-900);
    padding: 4rem 0 0;
    border-top: 1px solid var(--bg-dark-800);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-desc {
    color: var(--text-gray-400);
    margin: 1.5rem 0;
    max-width: 300px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray-300);
}

.social-links a:hover {
    background: var(--primary-amber);
    color: var(--bg-dark-950);
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.footer-links a {
    color: var(--text-gray-400);
}

.footer-links a:hover {
    color: var(--primary-amber);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-dark-900);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--bg-dark-800);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-amber);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.1);
}

.pricing-card.popular {
    border-color: var(--primary-amber);
    background: linear-gradient(145deg,
            rgba(17, 24, 39, 0.95),
            rgba(31, 41, 55, 0.9));
}

.popular-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-gold);
    color: var(--bg-dark-950);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--bg-dark-800);
}

.pricing-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-gray-100);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 1.25rem;
    color: var(--text-gray-400);
}

.pricing-period {
    color: var(--text-gray-400);
    font-size: 0.875rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-gray-300);
    font-size: 0.9rem;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--primary-amber);
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-gray-400);
}

.pricing-note a {
    color: var(--primary-amber);
    text-decoration: underline;
}

/* Payment Methods */
.payment-methods {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bg-dark-800);
}

.payment-methods h4 {
    color: var(--text-gray-100);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-amber);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--bg-dark-900);
    border: 1px solid var(--bg-dark-800);
    border-radius: 1.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--bg-dark-800);
    border: none;
    color: var(--text-gray-300);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary-amber);
    color: var(--bg-dark-950);
}

.modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-body h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-gray-100);
}

.modal-body p {
    color: var(--text-gray-400);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.modal-body ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.modal-body ul li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-gray-400);
}

.modal-body ul li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--primary-amber);
}

.modal-body a {
    color: var(--primary-amber);
}

/* Hero Background for VPN */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg,
            var(--bg-dark-950) 0%,
            var(--bg-dark-900) 50%,
            var(--bg-dark-800) 100%);
}

.hero-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%,
            rgba(245, 158, 11, 0.1) 0%,
            transparent 50%),
        radial-gradient(circle at 80% 20%,
            rgba(245, 158, 11, 0.05) 0%,
            transparent 40%);
}

.hero-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            var(--bg-dark-950) 100%);
}

.footer-bottom {
    background: var(--bg-dark-950);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-gray-400);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark-900);
        padding: 1rem;
        flex-direction: column;
        display: none;
        border-bottom: 1px solid var(--bg-dark-800);
    }

    .nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
        /* Hide button in nav menu on mobile if space is tight or move it inside nav-list */
    }

    .nav.active .nav-cta {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 1rem;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===== Policy Pages ===== */
.header-fixed {
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.page-content {
    padding-top: 120px;
    padding-bottom: 5rem;
    min-height: 80vh;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray-400);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
    color: var(--primary-amber);
}

.breadcrumb svg {
    width: 16px;
    height: 16px;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-gray-400);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    background: var(--bg-dark-900);
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--bg-dark-800);
}

.section-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-amber);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon svg {
    width: 22px;
    height: 22px;
}

.policy-section .section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.policy-section h2 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-gray-100);
}

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

.policy-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.policy-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-gray-300);
    border-bottom: 1px solid var(--bg-dark-800);
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-amber);
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-list li svg {
    color: #ef4444;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-card {
    background: var(--bg-dark-800);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
}

.info-card svg {
    width: 32px;
    height: 32px;
    color: var(--primary-amber);
    margin-bottom: 0.75rem;
}

.info-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.8rem;
    color: var(--text-gray-400);
    margin: 0;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-dark-800);
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    color: var(--text-gray-300);
    transition: var(--transition);
}

.contact-method:hover {
    background: var(--primary-amber);
    color: var(--bg-dark-950);
}

.contact-method svg {
    width: 18px;
    height: 18px;
}

.back-home {
    text-align: center;
    margin-top: 3rem;
}

.back-home .btn {
    gap: 0.5rem;
}

/* Refund Page Specific */
.highlight-box {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    color: var(--text-gray-400);
    font-size: 0.9rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    color: var(--bg-dark-950);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.25rem;
    color: var(--text-gray-100);
}

.step-content p {
    color: var(--text-gray-400);
    margin: 0;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-dark-800);
    padding: 1rem;
    border-radius: 0.75rem;
    color: var(--text-gray-300);
}

.payment-option svg {
    width: 24px;
    height: 24px;
    color: var(--primary-amber);
}

/* ===== Auth Pages (Login/Register) ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
}

.auth-container {
    display: flex;
    width: 100%;
}

.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-dark-950);
}

.auth-form-wrapper {
    width: 100%;
    max-width: 420px;
}

.auth-logo {
    justify-content: center;
    margin-bottom: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-gray-400);
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-gray-300);
    font-size: 0.9rem;
}

.auth-form label svg {
    width: 16px;
    height: 16px;
    color: var(--primary-amber);
}

.password-input {
    position: relative;
}

.password-input input {
    padding-left: 3rem;
}

.toggle-password {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-gray-400);
    cursor: pointer;
    padding: 0;
}

.toggle-password:hover {
    color: var(--primary-amber);
}

.password-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-gray-400);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-gray-300);
    font-size: 0.9rem;
}

.checkbox-label input {
    width: auto;
    accent-color: var(--primary-amber);
}

.forgot-password {
    color: var(--primary-amber);
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

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

.btn-lg svg {
    width: 20px;
    height: 20px;
    margin-left: 0.5rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-gray-400);
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--bg-dark-800);
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-gray-400);
}

.auth-switch a {
    color: var(--primary-amber);
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--text-gray-400);
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--primary-amber);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.auth-brand-side {
    flex: 1;
    background: linear-gradient(135deg,
            var(--bg-dark-900) 0%,
            var(--bg-dark-800) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-brand-side::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%,
            rgba(245, 158, 11, 0.1) 0%,
            transparent 50%),
        radial-gradient(circle at 70% 80%,
            rgba(245, 158, 11, 0.05) 0%,
            transparent 40%);
}

.brand-content {
    position: relative;
    text-align: center;
    max-width: 400px;
}

.brand-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-amber);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.brand-icon svg {
    width: 40px;
    height: 40px;
}

.brand-content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.brand-content>p {
    color: var(--text-gray-400);
    margin-bottom: 2rem;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: right;
}

.brand-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray-300);
}

.brand-feature svg {
    width: 20px;
    height: 20px;
    color: var(--primary-amber);
}

.pricing-preview {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 1rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.pricing-preview h4 {
    color: var(--text-gray-400);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pricing-preview .price-tag {
    position: static;
    background: none;
    padding: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-preview .price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-preview .currency {
    color: var(--text-gray-300);
}

.pricing-preview .period {
    color: var(--text-gray-400);
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.terms-group {
    margin-top: 0.5rem;
}

.terms-group a {
    color: var(--primary-amber);
}

.terms-group a:hover {
    text-decoration: underline;
}

/* Auth Pages Responsive */
@media (max-width: 992px) {
    .auth-brand-side {
        display: none;
    }

    .auth-form-side {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-options {
        flex-direction: row;
        gap: 1rem;
        align-items: flex-start;
    }

    .highlight-box {
        gap: 1.5rem;
    }

    .highlight-number {
        font-size: 2rem;
    }
}

/* Validation Errors */
.d-block {
    display: block !important;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #ef4444;
}

.invalid-feedback.d-block {
    display: block;
}

.is-invalid {
    border-color: #ef4444 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-group input.is-invalid:focus,
.form-group select.is-invalid:focus,
.form-group textarea.is-invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

/* Custom Alerts */
.alert {
    position: relative;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-danger {
    color: var(--danger);
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

.alert-success {
    color: var(--success);
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.alert-warning {
    color: var(--warning);
    background-color: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

.alert-info {
    color: var(--info);
    background-color: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.alert-primary {
    color: var(--primary-amber);
    background-color: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

.copyright-link {
    color: var(--primary-amber);
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-dark-900);
    border: 1px solid var(--bg-dark-800);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-amber);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: var(--primary-amber);
    background: var(--bg-dark-800);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-amber);
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    color: var(--primary-amber);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: 3px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-gray-400);
    line-height: 1.8;
    font-size: 1rem;
}

/* FAQ RTL Support */
[dir="rtl"] .faq-question {
    text-align: right;
}

[dir="rtl"] .faq-question span {
    text-align: right;
}

[dir="rtl"] .faq-answer p {
    text-align: right;
}

/* FAQ LTR Support */
[dir="ltr"] .faq-question {
    text-align: left;
    flex-direction: row-reverse;
}

[dir="ltr"] .faq-question span {
    text-align: left;
}

[dir="ltr"] .faq-answer p {
    text-align: left;
}


/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-main {
    text-align: center;
    margin-bottom: 3rem;
}

.about-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray-300);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--bg-dark-900);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--bg-dark-800);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    background: var(--bg-dark-800);
    transform: translateY(-5px);
    border-color: var(--primary-amber);
}

.about-icon {
    width: 70px;
    height: 70px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.about-icon svg,
.about-icon i {
    width: 35px !important;
    height: 35px !important;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.about-card p {
    color: var(--text-gray-400);
    line-height: 1.8;
    font-size: 1rem;
    text-align: center;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-gray-300);
    font-size: 1rem;
}

.values-list li svg,
.values-list li i {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    color: var(--primary-amber);
    flex-shrink: 0;
}

.values-list li span {
    flex: 1;
}

/* About RTL Support */
[dir="rtl"] .values-list {
    text-align: right;
}

[dir="rtl"] .values-list li {
    justify-content: flex-end;
    flex-direction: row;
    /* الأيقونة على اليمين، النص على اليسار */
}

[dir="rtl"] .values-list li span {
    text-align: right;
    direction: rtl;
}

/* About LTR Support */
[dir="ltr"] .values-list {
    text-align: left;
}

[dir="ltr"] .values-list li {
    justify-content: flex-start;
    flex-direction: row;
    /* الأيقونة على اليسار، النص على اليمين */
}

[dir="ltr"] .values-list li span {
    text-align: left;
    direction: ltr;
}


/* Responsive for FAQ and About */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-card {
        padding: 2rem;
    }

    .about-icon {
        width: 60px;
        height: 60px;
    }

    .about-icon svg,
    .about-icon i {
        width: 30px !important;
        height: 30px !important;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top i {
    width: 24px;
    height: 24px;
}

/* RTL Support for Back to Top */
[dir="rtl"] .back-to-top {
    right: auto;
    left: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    [dir="rtl"] .back-to-top {
        right: auto;
        left: 1.5rem;
    }

    .back-to-top i {
        width: 20px;
        height: 20px;
    }
}
