/* ================================================================
   وهّاج الحلم — Dark + Orange Design System
   ================================================================ */

/* ================= @font-face — عام الحرف اليدوية ================= */
@font-face {
    font-family: 'YearHandicrafts';
    src: url('../assets/fonts/OTF/TheYearofHandicrafts-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YearHandicrafts';
    src: url('../assets/fonts/OTF/TheYearofHandicrafts-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YearHandicrafts';
    src: url('../assets/fonts/OTF/TheYearofHandicrafts-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YearHandicrafts';
    src: url('../assets/fonts/OTF/TheYearofHandicrafts-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YearHandicrafts';
    src: url('../assets/fonts/OTF/TheYearofHandicrafts-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ================= Variables ================= */
:root {
    --bg-color: #101820;
    --card-bg: #151F2B;
    --border-color: rgba(255, 255, 255, 0.08);
    --primary: #D8B578;
    --primary-dark: #C4A164;
    --primary-gradient: linear-gradient(90deg, #D8B578, #E8CF9B);
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --font: 'YearHandicrafts', 'Cairo', sans-serif;
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --gap-sm: 16px;
    --gap-md: 24px;
    --gap-lg: 40px;
    --gap-xl: 60px;
    --transition: 0.3s ease;
}

/* ================= Reset ================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0;
    word-spacing: normal;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    background: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 800;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= Background Glow Effects ================= */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    top: -100px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: rgba(216, 181, 120, 0.12);
}

.glow-2 {
    top: 40%;
    left: -200px;
    width: 500px;
    height: 500px;
    background: rgba(216, 181, 120, 0.08);
}

.glow-3 {
    bottom: 5%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: rgba(216, 181, 120, 0.1);
}

/* ================= Buttons ================= */
.btn {
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: var(--font);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(216, 181, 120, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(216, 181, 120, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

/* ================= Text Utilities ================= */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary);
}

/* ================= Navigation ================= */
.main-nav {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(16, 24, 32, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.nav-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(15deg) brightness(1.15);
    transition: all 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
    filter: brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(15deg) brightness(1.3);
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-text {
    letter-spacing: 0;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.lang-toggle:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.15);
}

.nav-cta {
    background: var(--primary);
    color: #fff;
    padding: 8px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

/* ================= Hero Section ================= */
.hero {
    text-align: center;
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--bg-color) 0%, transparent 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 16px 6px 8px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    margin-left: -8px;
    background: #333;
    object-fit: cover;
}

.stars {
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 2px;
}

.badge-text {
    font-size: 13px;
    color: var(--text-muted);
    padding-right: 8px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: 0;
    word-spacing: normal;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ================= Stats Bar ================= */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 120px;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.stat-item {
    text-align: center;
}

.stat-item p,
.stat-item .stat-label {
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-item h3,
.stat-item .stat-number {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    display: block;
}

/* ================= Section Base ================= */
.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 16px;
    max-width: 700px;
    line-height: 1.8;
}

.section-badge {
    display: inline-block;
    background: rgba(216, 181, 120, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(216, 181, 120, 0.2);
}

/* ================= Features Section ================= */
.features-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

/* ---- Truck Background Image ---- */
.features-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.features-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: blur(6px) brightness(0.5);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 60%, transparent 100%);
}

.features-section>.container {
    position: relative;
    z-index: 2;
}

/* ---- Features Header ---- */
.features-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    gap: 40px;
}

.features-header h2 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.25;
}

.features-header p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 600px;
    line-height: 1.9;
    font-size: 16px;
}

/* ---- Animated 3D Cube ---- */
.features-icon-right {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    perspective: 500px;
}

.features-icon-right svg {
    width: 100%;
    height: 100%;
    stroke: rgba(216, 181, 120, 0.35);
    stroke-width: 0.7;
    fill: none;
    animation: cubeFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(216, 181, 120, 0.15));
}

@keyframes cubeFloat {

    0%,
    100% {
        transform: rotateY(0deg) rotateX(0deg) translateY(0);
    }

    25% {
        transform: rotateY(8deg) rotateX(5deg) translateY(-6px);
    }

    50% {
        transform: rotateY(-4deg) rotateX(-3deg) translateY(0);
    }

    75% {
        transform: rotateY(-8deg) rotateX(4deg) translateY(-4px);
    }
}

/* ---- Features Grid ---- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 0;
}

/* ---- Feature Card (Premium) ---- */
.feature-card {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 44px 40px 40px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    z-index: 1;
}

/* Animated gradient border glow on hover */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(216, 181, 120, 0) 0%, rgba(216, 181, 120, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    transition: background 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.feature-card:hover::before {
    background: linear-gradient(135deg, rgba(216, 181, 120, 0.6) 0%, rgba(232, 207, 155, 0.3) 50%, rgba(216, 181, 120, 0) 100%);
}

/* Ambient top glow on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at top center, rgba(216, 181, 120, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 181, 120, 0.25);
    box-shadow: 0 20px 60px rgba(216, 181, 120, 0.08), 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Staggered hover delay per card */
.feature-card:nth-child(1) {
    transition-delay: 0s;
}

.feature-card:nth-child(2) {
    transition-delay: 0.03s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.06s;
}

.feature-card:nth-child(4) {
    transition-delay: 0.09s;
}

/* ---- Feature Icon (Large gradient circle + glow ring) ---- */
.f-icon {
    position: relative;
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(216, 181, 120, 0.25);
    z-index: 3;
}

/* Pulsing glow ring */
.f-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid rgba(216, 181, 120, 0.25);
    animation: iconRingPulse 3s ease-in-out infinite;
}

@keyframes iconRingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.f-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: relative;
    z-index: 1;
}

/* ---- Step Number Indicator ---- */
.feature-step {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(216, 181, 120, 0.35);
    text-transform: uppercase;
    z-index: 3;
}

[dir="rtl"] .feature-step {
    left: auto;
    right: 20px;
}

/* ---- Card Text ---- */
.feature-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 3;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 92%;
    line-height: 1.9;
    position: relative;
    z-index: 3;
}

/* ================= Truck Visual Band ================= */
.truck-band {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: -30px 0;
    z-index: 1;
}

.truck-band img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Top & bottom fade */
.truck-band::before,
.truck-band::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 35%;
    z-index: 2;
    pointer-events: none;
}

.truck-band::before {
    top: 0;
    background: linear-gradient(to bottom, var(--bg-color) 0%, transparent 100%);
}

.truck-band::after {
    bottom: 0;
    background: linear-gradient(to top, var(--bg-color) 0%, transparent 100%);
}

/* ================= Achievements Section ================= */
.achievements {
    padding: 80px 0;
    position: relative;
}

.achievements-header {
    text-align: center;
    margin-bottom: 48px;
}

.achievements-header h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
}

.achievements-header p {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ================= Hero Logo ================= */
.hero-logo {
    position: relative;
    margin-bottom: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(216, 181, 120, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-logo img {
    height: 200px;
    width: auto;
    position: relative;
    z-index: 1;
    filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(15deg) brightness(1.15) drop-shadow(0 0 40px rgba(216, 181, 120, 0.3));
    opacity: 0.95;
    transition: all 0.5s ease;
}

.hero-logo img:hover {
    opacity: 1;
    transform: scale(1.03);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-md);
    margin-bottom: 60px;
}

.achievement-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.achievement-card:hover {
    border-color: rgba(216, 181, 120, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(216, 181, 120, 0.1);
}

.achievement-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 80px;
    background: var(--primary);
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.achievement-card:hover .achievement-glow {
    opacity: 0.25;
}

.achievement-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(216, 181, 120, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.achievement-card:hover .achievement-icon {
    background: rgba(216, 181, 120, 0.2);
    transform: scale(1.1);
}

.achievement-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.achievement-number {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #FFFFFF 30%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-card p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.achievements-cta {
    text-align: center;
}

/* ================= How It Works ================= */
.how-it-works {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(216, 181, 120, 0.05) 0%, transparent 70%);
    pointer-events: none;
    transform: translateY(-50%);
}

.how-header {
    text-align: center;
    margin-bottom: 48px;
}

.how-header h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
}

.how-header p {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.9;
}

.how-steps {
    max-width: 800px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.how-step {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}

.how-step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.how-step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(216, 181, 120, 0.15) 0%, rgba(216, 181, 120, 0.05) 100%);
    border: 2px solid rgba(216, 181, 120, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.how-step:hover .how-step-number {
    background: var(--primary-gradient);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(216, 181, 120, 0.3);
    transform: scale(1.08);
}

.how-step-line {
    width: 2px;
    flex-grow: 1;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(216, 181, 120, 0.3) 0%, rgba(216, 181, 120, 0.05) 100%);
    position: relative;
}

.how-step-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }

    50% {
        transform: translateX(-50%) translateY(40px);
        opacity: 0.6;
    }
}

.how-step-content {
    flex: 1;
    padding: 28px 32px 32px;
    margin-bottom: 24px;
    position: relative;
    background: rgba(16, 24, 32, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(216, 181, 120, 0.15);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
}

.how-step:hover .how-step-content {
    border-color: rgba(216, 181, 120, 0.35);
    background: rgba(16, 24, 32, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.how-step:last-child .how-step-content {
    margin-bottom: 0;
}

.how-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(216, 181, 120, 0.12) 0%, rgba(232, 207, 155, 0.06) 100%);
    border: 1px solid rgba(216, 181, 120, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.how-step:hover .how-step-icon {
    background: linear-gradient(135deg, rgba(216, 181, 120, 0.25) 0%, rgba(232, 207, 155, 0.12) 100%);
    border-color: rgba(216, 181, 120, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(216, 181, 120, 0.12);
}

.how-step-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.how-step-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.how-step:hover .how-step-content h3 {
    color: var(--primary);
}

.how-step-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
    max-width: 95%;
}

.how-step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.how-step-tags span {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(216, 181, 120, 0.85);
    background: rgba(216, 181, 120, 0.08);
    border: 1px solid rgba(216, 181, 120, 0.15);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.how-step:hover .how-step-tags span {
    background: rgba(216, 181, 120, 0.12);
    border-color: rgba(216, 181, 120, 0.25);
    color: var(--primary);
}

.how-cta {
    text-align: center;
}

/* ================= FAQ ================= */
.faq {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.faq h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.faq>p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    text-align: right;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    gap: 16px;
}

.faq-q svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    transition: var(--transition);
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-answer {
    padding-bottom: 24px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-q svg {
    transform: rotate(180deg);
    stroke: var(--primary);
}

/* ================= CTA Bottom Card ================= */
.cta-bottom {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 300px;
    background: var(--primary);
    filter: blur(120px);
    opacity: 0.2;
    pointer-events: none;
}

.cta-bottom h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-bottom p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-bottom .btn {
    position: relative;
    z-index: 1;
}

/* ================= Old CTA Section (used on subpages) ================= */
.cta-section {
    padding: 80px 0;
}

.cta-inner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 250px;
    background: var(--primary);
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.cta-inner h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-inner p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-inner .btn {
    position: relative;
    z-index: 1;
}

/* ================= Grids ================= */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-md);
}

/* ================= Cards (for subpages) ================= */
.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(216, 181, 120, 0.3);
    transform: translateY(-3px);
}

.card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(216, 181, 120, 0.1);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ================= Page Banner (subpages) ================= */
.page-banner {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.page-banner h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
}

.page-banner p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.text-gold,
.gold-text {
    color: var(--primary);
}

/* ================= Forms ================= */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 15px;
    font-family: var(--font);
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(156, 163, 175, 0.5);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(216, 181, 120, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 40px;
}

[dir="rtl"] .form-select {
    background-position: left 16px center;
    padding-left: 40px;
    padding-right: 16px;
}

.form-error {
    display: block;
    color: #EF4444;
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

/* ================= Section Header (reusable) ================= */
.section-badge {
    display: inline-block;
    background: rgba(216, 181, 120, 0.1);
    border: 1px solid rgba(216, 181, 120, 0.2);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.25;
}

/* ================= Homepage Contact Section ================= */
.contact-home-section {
    position: relative;
    overflow: hidden;
}

.contact-home-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(216, 181, 120, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.contact-home-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

/* ---- Info Cards ---- */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(216, 181, 120, 0.25);
    box-shadow: 0 12px 40px rgba(216, 181, 120, 0.06), 0 4px 16px rgba(0, 0, 0, 0.25);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(216, 181, 120, 0.08);
    border: 1px solid rgba(216, 181, 120, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
}

.contact-info-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-card a {
    color: var(--text-muted);
    font-size: 15px;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--primary);
}

/* ---- Contact Form Side ---- */
.contact-form-side {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-side form .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ================= Footer ================= */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    position: relative;
}

.footer-glow {
    display: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--gap-lg);
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(15deg) brightness(1.15);
    margin-bottom: 10px;
}

.logo-icon-sm {
    display: flex;
    align-items: center;
}

.footer-brand .footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 16px;
}

.footer-links ul a {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--primary);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-contact ul li a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-contact ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    font-size: 14px;
    color: var(--text-muted);
}

.socials {
    display: flex;
    gap: 16px;
}

.socials a {
    color: var(--text-muted);
    transition: var(--transition);
}

.socials a:hover {
    color: var(--primary);
}

/* ================= Toast ================= */
.toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    animation: toastIn 0.3s ease;
    max-width: 400px;
}

.toast-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.toast-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= Comparison Table ================= */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.03);
    font-weight: 700;
    color: var(--text-main);
}

.comparison-table td:first-child {
    text-align: right;
    font-weight: 600;
}

.check-yes {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.check-no {
    color: var(--text-muted);
    opacity: 0.5;
}

/* ================= LED Screen Visual (about page) ================= */
.led-screen {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.shimmer-text {
    color: var(--primary);
}

/* ================= Mobile Menu Overlay ================= */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ================= Scroll Indicator (reused from old design) ================= */
.scroll-indicator {
    display: none;
    /* hidden in new design */
}

/* ================= Highlight (backward compat) ================= */
.highlight {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: initial;
}

/* ================= Section Variants (backward compat for subpages) ================= */
.section-dark,
.section-light,
.section-alt {
    /* All sections use same dark background now */
}

.section-alt {
    background: rgba(255, 255, 255, 0.01);
}

/* ================= Stats (subpage variant) ================= */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stats-row .stat-item .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: rgba(216, 181, 120, 0.1);
}

.stats-row .stat-item .stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
}

/* ================= Old Timeline (vertical, for subpages) ================= */
.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ================= WhatsApp Float Button ================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: whatsappPulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}