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

:root {
    --bg: #030303;
    --bg-light: #f5f5f0;
    --card: rgba(20,20,20,0.6);
    --card-light: rgba(200,200,200,0.3);
    --gold: #C8A97E;
    --gold-dim: rgba(200,169,126,0.2);
    --text: #ffffff;
    --text-light: #1a1a1a;
    --text-muted: #a0a0a0;
    --text-muted-light: #666;
    --border: rgba(255,255,255,0.06);
    --border-light: rgba(0,0,0,0.08);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

body.light {
    background: var(--bg-light);
    color: var(--text-light);
}

body.light .glass-card,
body.light .stone-card,
body.light .cert-item,
body.light .compare-bar,
body.light .side-menu,
body.light .quote-card {
    background: rgba(255,255,255,0.9);
    color: #333;
}

body.light .hero-section { background: #e8e8e0; }
body.light .timeline-particle { background: rgba(200,169,126,0.5); }
body.light .logo { color: #1a1a1a; }
body.light .hero-meta { color: rgba(0,0,0,.4); }
body.light .hero-title { color: rgba(0,0,0,.9); }
body.light .hero-subtitle { color: #555; }
body.light .stone-specs { color: #666; }
body.light .compare-btn { border-color: var(--border-light); color: #666; }
body.light .compare-item { background: #e0e0e0; }
body.light .modal-content { background: rgba(245,245,240,0.95); color: #333; }
body.light .modal-content p { color: #555; }
body.light .hero-overlay { background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%); }

body.ar {
    direction: rtl;
}

h1, h2, h3, .logo, .hero-badge, .section-title {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.5px;
    font-weight: 500;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--gold);
    width: 0%;
    z-index: 10001;
    transition: width 0.05s linear;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0 5%;
}

header.scrolled {
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

body.light header.scrolled {
    background: rgba(245, 245, 240, 0.8);
    border-bottom: 1px solid var(--border-light);
}

.navbar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text);
    text-decoration: none;
}

.logo span {
    color: var(--gold);
}

.menu-btn {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: var(--text);
    font-size: 1.3rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn:hover {
    color: var(--gold);
}

.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(25px);
    z-index: 2000;
    transition: left 0.5s cubic-bezier(0.77, 0, 0.18, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.light .side-menu {
    background: rgba(245, 245, 240, 0.96);
}

.side-menu.open {
    left: 0;
}

.side-menu-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 90%;
    margin: 0 auto;
}

.side-menu-nav a {
    display: inline-block;
    color: var(--text);
    text-decoration: none;
    padding: 12px 0;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

body.light .side-menu-nav a { color: #1a1a1a; }

.side-menu-nav a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

.side-menu-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.3s;
}

.side-menu-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

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

.lang-switch {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 40px;
    padding: 4px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 5px 14px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 500;
    transition: 0.2s;
}

.lang-btn.active {
    background: var(--gold);
    color: #000;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.5);
    transform: scale(1.05);
    animation: slowZoom 25s ease-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content-new {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 900px;
}

.hero-badge {
    font-size: 0.7rem;
    letter-spacing: 6px;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s ease-out 0.3s forwards;
}

.hero-title {
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s ease-out 0.5s forwards;
}

.hero-title span {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s ease-out 0.7s forwards;
}

.hero-buttons-new {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s ease-out 0.9s forwards;
}

@keyframes slideUpFade {
    to { opacity: 1; transform: translateY(0); }
}

.hero-rings {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.hero-rings span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(200,169,126,0.15);
    opacity: 0;
    transform: scale(0.8);
    animation: ringExpand 1s ease-out forwards;
}

.hero-rings span:nth-child(1) { width: 380px; height: 380px; animation-delay: 0.1s; }
.hero-rings span:nth-child(2) { width: 580px; height: 580px; animation-delay: 0.2s; }
.hero-rings span:nth-child(3) { width: 820px; height: 820px; animation-delay: 0.3s; }

@keyframes ringExpand {
    to { opacity: 1; transform: scale(1); }
}

.timeline-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(200,169,126,0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
}

/* Slider Section */
.slider-section {
    padding: 80px 0;
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 15px;
    display: inline-block;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 15px auto 0;
    font-size: 0.9rem;
}

.hero-stone-slider {
    width: 1000px;
    height: 420px;
    margin: 0 auto;
    perspective: 2200px;
    cursor: grab;
    user-select: none;
    position: relative;
}

.hero-stone-slider:active {
    cursor: grabbing;
}

.stone-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.stone-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 180px;
    height: 330px;
    border-radius: 12px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: 0.6s cubic-bezier(.22, .61, .36, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 40px rgba(200,169,126,.12);
    pointer-events: auto;
}

.stone-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn {
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 2.5px;
    transition: 0.3s;
    cursor: pointer;
    display: inline-block;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #e3c297, #c8a97e);
    color: black;
    box-shadow: 0 10px 40px rgba(200,169,126,.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.02);
    backdrop-filter: blur(20px);
    color: white;
}

body.light .btn-secondary {
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(0,0,0,.02);
    color: #1a1a1a;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.luxury-strip {
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    font-weight: 400;
}

.marquee-content span {
    margin: 0 30px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.stone-gallery {
    padding: 100px 8%;
}

.category-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
}

.cat-tab {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 26px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: 0.2s;
}

.cat-tab.active, .cat-tab:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(200,169,126,0.05);
}

.stone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 35px;
}

.stone-card {
    background: rgba(20,20,20,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200,169,126,0.15);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
}

.stone-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold);
    box-shadow: 0 30px 50px rgba(0,0,0,0.4);
}

.stone-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.stone-card:hover img {
    transform: scale(1.05);
}

.stone-info {
    padding: 24px;
    text-align: center;
}

.stone-name {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.stone-type {
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.stone-specs {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 15px 0;
}

.compare-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: 0.3s;
    margin-top: 8px;
}

.compare-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(200,169,126,0.1);
}

.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--gold);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 100;
    transform: translateY(100%);
    transition: 0.3s;
    flex-wrap: wrap;
}

.compare-bar.active {
    transform: translateY(0);
}

.compare-items {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.compare-item {
    background: var(--card);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
}

.countries-section {
    padding: 80px 8%;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.countries-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
}

.country-item {
    text-align: center;
    min-width: 100px;
    transition: 0.3s;
}

.country-item:hover {
    transform: translateY(-5px);
}

.country-item i {
    font-size: 2.2rem;
    color: var(--gold);
    opacity: 0.7;
}

.country-name {
    font-weight: 600;
    margin-top: 10px;
    font-size: 1rem;
}

.country-volume {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.globe-section {
    padding: 80px 5% 100px;
    text-align: center;
    background: transparent;
}

#globe-container {
    width: 100%;
    height: 550px;
    margin-top: 40px;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

.certificates-section {
    padding: 80px 8%;
    background: rgba(255,255,255,0.01);
    text-align: center;
}

.cert-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.cert-item {
    background: var(--card);
    padding: 15px 28px;
    border-radius: 50px;
    border: 1px solid var(--border);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.3s;
    cursor: pointer;
}

.cert-item:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(20,20,20,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gold);
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.2s;
}

.modal-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.stats-section {
    padding: 80px 8%;
    background: linear-gradient(135deg, #0a0a0a 0%, #050505 100%);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
    letter-spacing: 1px;
    font-weight: 400;
}

.quote-section {
    padding: 80px 8%;
}

.quote-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
}

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: white;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

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

.mega-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 80px 8% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-col h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-col p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.75rem;
    transition: 0.2s;
}

.footer-col a:hover { color: var(--gold); }

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    font-size: 0.7rem;
    color: var(--text-muted);
}

#loader {
    position: fixed;
    inset: 0;
    background: #030303;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s;
}

.loader-content {
    text-align: center;
}

.loader-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    letter-spacing: 8px;
    color: var(--gold);
    margin-bottom: 30px;
}

.loader-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.loader-dots span {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    from { transform: translateY(0); opacity: 0.3; }
    to { transform: translateY(-20px); opacity: 1; }
}

.loader-ripple {
    width: 60px;
    height: 60px;
    margin: 20px auto 0;
    position: relative;
}

.loader-ripple div {
    position: absolute;
    border: 2px solid var(--gold);
    border-radius: 50%;
    animation: ripple 1.5s ease-out infinite;
}

.loader-ripple div:nth-child(2) { animation-delay: 0.5s; }

@keyframes ripple {
    from { width: 0; height: 0; opacity: 1; top: 30px; left: 30px; }
    to { width: 80px; height: 80px; opacity: 0; top: -10px; left: -10px; }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold);
    color: black;
    border: none;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    background: #b8986a;
}

.toast {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--gold);
    color: black;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    z-index: 3000;
    animation: fadeOut 2s forwards;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
#globe-container {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
}


@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

@media (max-width: 1100px) {
    .hero-stone-slider {
        width: 800px;
        height: 360px;
    }
    .stone-slide {
        width: 150px;
        height: 280px;
    }
}

@media (max-width: 968px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .quote-card { padding: 30px 20px; }
    .section-header h2 { font-size: 2rem; }
    .stone-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
    .countries-grid { gap: 25px; }
}

@media (max-width: 768px) {
    .hero-stone-slider {
        width: 100%;
        height: 280px;
    }
    .stone-slide {
        width: 120px;
        height: 220px;
    }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.85rem; }
    .hero-buttons-new { flex-direction: column; align-items: center; gap: 15px; }
    #globe-container {
        height: 350px;
    }
}



@media (max-width: 600px) {
    .navbar { height: 60px; }
    .logo { font-size: 1.1rem; }
    .hero-title { font-size: 1.6rem; }
        #globe-container {
        height: 280px;
    }
}

