/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Outfit:wght@300;400;600;700;900&display=swap');
@import url('mobile.css');

:root {
    /* Brand Colors */
    --bg-dark: #010B13;
    --bg-dark-secondary: #021220;
    --primary-cyan: #00D2FF;
    --accent-pink: #FF00FF;
    --text-white: #FFFFFF;
    --text-gray: #B0B8C1;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary-cyan) 0%, var(--accent-pink) 100%);
    --gradient-text: linear-gradient(90deg, var(--primary-cyan), var(--text-white), var(--accent-pink));

    /* Layout */
    --container-width: 1200px;
    --header-height: 100px;
    /* Increased from 80px */
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

body[dir="rtl"] {
    font-family: 'Cairo', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] input,
[dir="rtl"] button,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] a,
[dir="rtl"] p,
[dir="rtl"] span {
    font-family: 'Cairo', sans-serif !important;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.5);
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    backdrop-filter: blur(4px);
}

.btn-glass:hover {
    background: var(--glass-highlight);
    border-color: var(--primary-cyan);
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Header */
header {
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: 0.3s;
    background: rgba(1, 11, 19, 0.9);
    /* Slightly more opaque */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    /* Add internal padding */
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    /* Slightly larger */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    /* Changed from right to left for generic LTR, handled via logic for RTL if needed but left/width works generally */
    background: var(--primary-cyan);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    /* More breathing room from header */
    padding-bottom: 60px;
    overflow: hidden;
    gap: 50px;
    /* Space between text and visual */
}

.hero-content {
    flex: 1;
    /* Use flex instead of width 50% for better behavior */
    z-index: 2;
    padding-inline-end: 20px;
    /* Space towards the image */
}

.hero h1 {
    font-size: 3.5rem;
    /* Reduced from 4rem */
    line-height: 1.25;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.7;
}

.hero-visual {
    flex: 1;
    /* Use flex */
    height: auto;
    min-height: 500px;
    /* Ensure height */
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Placeholder for 3D/Image */
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
}

/* Sections General */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Features/Services */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-cyan);
}

/* Special Offer */
.offer-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    overflow: hidden;
}

.offer-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.offer-content {
    flex: 1;
}

.offer-visual {
    flex: 1;
    position: relative;
}

.price-tag {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.review-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-inline-end: 15px;
    /* logical property for RTL/LTR support */
}

/* Contact */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.form-control {
    width: 100%;
    padding: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 50px 0 20px;
    background: #00050A;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid var(--glass-border);
}

.social-btn:hover {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
}

/* RTL Specific Overrides */


[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
}

/* Responsive styles moved to mobile.css */

/* 3D Bloom/Glow effects background */
.glow-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(162, 0, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}