:root {
    --color-bg:         #070B14;
    --color-surface:    #0F1623;
    --color-surface-2:  #161E2E;
    --color-gold:       #C8A94A;
    --color-gold-light: #E6CC7A;
    --color-gold-dim:   rgba(200,169,74,0.15);
    --color-text:       #F0EDE4;
    --color-text-muted: #8A8FA8;
    --color-border:     rgba(200,169,74,0.18);
    --color-success:    #2ECC71;
    --color-error:      #E74C3C;
    --font-primary: 'Tajawal', sans-serif;
    --fs-xs:   0.75rem;
    --fs-sm:   0.875rem;
    --fs-base: 1rem;
    --fs-lg:   1.125rem;
    --fs-xl:   1.375rem;
    --fs-2xl:  1.75rem;
    --fs-3xl:  2.25rem;
    --fs-4xl:  3rem;
    --fs-hero: clamp(2.5rem, 6vw, 4.5rem);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.85;
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--color-gold);
    color: #070B14;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 3px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--color-gold-light);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

section {
    padding: 100px 0;
}

.section-eyebrow {
    display: inline-block;
    background: var(--color-gold-dim);
    border: 1px solid var(--color-border);
    color: var(--color-gold);
    padding: 0.375rem 1.25rem;
    border-radius: 50px;
    font-size: var(--fs-sm);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: var(--fs-lg);
    max-width: 600px;
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(7,11,20,0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: background 0.3s;
}
.navbar.scrolled {
    background: rgba(7,11,20,0.97);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    order: 2;
    color: var(--color-text);
    text-decoration: none;
}
.navbar-brand:hover {
    color: var(--color-text);
}
.navbar-brand svg {
    width: 40px;
    height: 40px;
}
.navbar-brand span {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--color-text);
}
.navbar-brand span .gold {
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    order: 1;
}
.nav-links a {
    position: relative;
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: color 0.3s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 1rem;
    left: 1rem;
    height: 2px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--color-gold);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-cta {
    order: 3;
}
.nav-cta .btn-nav {
    display: inline-block;
    background: var(--color-gold);
    color: #070B14;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none;
}
.nav-cta .btn-nav:hover {
    background: var(--color-gold-light);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(200,169,74,0.3);
    color: #070B14;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    order: 4;
    background: none;
    border: none;
    padding: 5px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile drawer */
.nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.nav-drawer.open {
    opacity: 1;
    pointer-events: auto;
}
.nav-drawer-inner {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: var(--color-surface);
    padding: 90px 2rem 2rem;
    border-left: 1px solid var(--color-border);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.nav-drawer.open .nav-drawer-inner {
    transform: translateX(0);
}
.nav-drawer-inner a {
    display: block;
    color: var(--color-text-muted);
    font-size: var(--fs-lg);
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.3s;
}
.nav-drawer-inner a:hover {
    color: var(--color-gold);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(200,169,74,0.06) 0%, transparent 70%),
        radial-gradient(ellipse at 70% 80%, rgba(200,169,74,0.04) 0%, transparent 60%),
        var(--color-bg);
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(200,169,74,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-gold);
    opacity: 0.4;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}
.hero-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(200,169,74,0.1) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}
.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gold);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}
.hero-logo svg {
    width: 100%;
    height: 100%;
}
.hero-title {
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #E6CC7A, #C8A94A, #9A7A30);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    color: var(--color-text-muted);
    font-size: var(--fs-lg);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.hero-secondary-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hero-secondary-links a {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    transition: color 0.3s;
}
.hero-secondary-links a:hover {
    color: var(--color-gold);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: var(--fs-xs);
}
.scroll-chevron {
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-text-muted);
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    animation: bounce-chevron 2s ease-in-out infinite;
}
@keyframes bounce-chevron {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50% { transform: rotate(45deg) translateY(8px); opacity: 0.5; }
}

/* ========== STATS ========== */
.stats-section {
    background: var(--color-surface);
    border-top: 2px solid var(--color-border);
    border-bottom: 2px solid var(--color-border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.stat-card {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border-top: 3px solid var(--color-gold);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(200,169,74,0.15);
}
.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.stat-number {
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}
.stat-label {
    color: var(--color-text-muted);
    font-size: var(--fs-base);
}

/* ========== HOW IT WORKS ========== */
.how-section {
    background: var(--color-bg);
}
.timeline {
    display: flex;
    gap: 2rem;
    position: relative;
    margin: 4rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    height: 2px;
    border-top: 2px dashed var(--color-border);
    z-index: 0;
}
.timeline.animate-line::before {
    clip-path: inset(0 0 0 0);
}
.step-card {
    flex: 1;
    position: relative;
    z-index: 1;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(200,169,74,0.1);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 2px solid var(--color-gold);
    background: var(--color-gold-dim);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}
.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.step-card h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}
.step-card p {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    line-height: 1.7;
}

/* ========== SPECIAL ORDERS ========== */
.special-section {
    background: var(--color-surface);
}
.special-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.special-info {
    position: sticky;
    top: 100px;
}
.special-tabs {
    display: flex;
    gap: 0.75rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.special-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-gold);
    border-radius: 50px;
    background: transparent;
    color: var(--color-gold);
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
.special-tab.active {
    background: var(--color-gold);
    color: #070B14;
}
.special-tab:hover:not(.active) {
    background: var(--color-gold-dim);
}
.special-panels {
    position: relative;
}
.special-panel {
    display: none;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, height 0.4s ease;
}
.special-panel.active {
    display: block;
    opacity: 1;
    height: auto;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-grid .full-width {
    grid-column: 1 / -1;
}
.color-swatches {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}
.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.color-swatch:hover,
.color-swatch.selected {
    border-color: var(--color-gold);
    transform: scale(1.15);
}
.color-swatch-input {
    display: none;
}
.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}
.radio-group input[type="radio"] {
    width: auto;
    accent-color: var(--color-gold);
}

/* ========== PRODUCTS ========== */
.products-section {
    background: var(--color-bg);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.product-card {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--color-surface-2), var(--color-surface));
    border: 1px solid var(--color-border);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 25px 80px rgba(200,169,74,0.2);
    transform: translateY(-8px) scale(1.01);
}
.product-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(200,169,74,0.3);
}
.product-divider {
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin: 1rem auto;
    border: none;
}
.product-card h3 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}
.product-card > p {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    margin-bottom: 1.5rem;
}
.product-features {
    text-align: right;
    margin-bottom: 1.5rem;
}
.product-features li {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.product-features li::before {
    content: '✓';
    color: var(--color-gold);
    font-weight: 700;
}

/* ========== ABOUT ========== */
.about-section {
    background: var(--color-surface);
}
.about-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
    align-items: start;
}
.about-text p {
    color: var(--color-text-muted);
    font-size: var(--fs-base);
    margin-bottom: 1.5rem;
    line-height: 2;
}
.about-divider {
    width: 80px;
    height: 3px;
    background: var(--color-gold);
    border: none;
    margin: 2rem 0;
}
.about-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.about-mini-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    border-right: 3px solid var(--color-gold);
    background: var(--color-surface);
    transition: all 0.3s ease;
}
.about-mini-card:hover {
    border-right-width: 6px;
    transform: translateX(4px);
}
.about-mini-icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.about-mini-card h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}
.about-mini-card p {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, #1a1200, var(--color-surface));
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}
.cta-banner h2 {
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 1rem;
}
.cta-banner p {
    color: var(--color-text-muted);
    font-size: var(--fs-lg);
    margin-bottom: 2rem;
}

/* ========== FOOTER ========== */
.footer {
    background: #040608;
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-col h4 {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--color-gold);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.footer-brand svg {
    width: 60px;
    height: 60px;
}
.footer-brand span {
    font-size: var(--fs-xl);
    font-weight: 800;
}
.footer-brand span .gold {
    color: var(--color-gold);
}
.footer-tagline {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    margin-bottom: 1.5rem;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: var(--color-gold);
    color: #070B14;
    border-color: var(--color-gold);
}
.footer-links a {
    display: block;
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--color-gold);
    transform: translateX(-4px);
}
.footer-contact p {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-divider {
    height: 1px;
    background: var(--color-border);
    margin: 0 0 1.5rem;
}

.copyright-section {
    padding: 1.5rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.copyright-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.copyright-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.copyright-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--color-surface-2), var(--color-surface));
    border: 1px solid var(--color-border);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-gold);
}

.copyright-text {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

.copyright-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.dev-label {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    opacity: 0.7;
}

.developer-profile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 0.7rem 1rem 0.7rem 0.7rem;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
    direction: ltr;
}

.developer-profile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(200,169,74,0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.developer-profile:hover {
    border-color: var(--color-gold-dim);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3), 0 0 40px rgba(200,169,74,0.08);
}

.developer-profile:hover::before {
    opacity: 1;
}

.dev-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.dev-avatar-ring {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(var(--color-gold), var(--color-gold-dim), var(--color-gold-light), var(--color-gold));
    animation: spin-ring 4s linear infinite;
}

.dev-avatar-ring::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--color-surface);
}

.dev-avatar-icon {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-surface-2), var(--color-surface));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-gold);
    z-index: 1;
}

@keyframes spin-ring {
    to { transform: rotate(360deg); }
}

.dev-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dev-name {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dev-role {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-bottom: 0.3rem;
}

.dev-tags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 10px;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    color: #fff;
}

.tag i { font-size: 9px; }

.tag-web   { background: linear-gradient(135deg, #2cb5e8, #1a6e8e); }
.tag-ai    { background: linear-gradient(135deg, #7039bd, #4a2080); }
.tag-desktop { background: linear-gradient(135deg, #35b47d, #207a54); }

.dev-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-dim);
    font-size: 0.85rem;
    transition: all 0.3s;
    flex-shrink: 0;
}

.developer-profile:hover .dev-arrow {
    color: var(--color-gold);
    transform: translateX(3px);
}

/* ========== PAGE HEADER ========== */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #1a1200, var(--color-surface));
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.page-hero h1 {
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}
.page-hero .breadcrumb {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
}
.page-hero .breadcrumb a {
    color: var(--color-text-muted);
}
.page-hero .breadcrumb a:hover {
    color: var(--color-gold);
}

/* ========== FORM CARD (register/order pages) ========== */
.form-card {
    max-width: 650px;
    margin: 3rem auto;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 3rem;
}
.form-card .form-title {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    text-align: center;
}
.form-card .form-subtitle {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    text-align: center;
    margin-bottom: 2rem;
}

/* ========== SUCCESS STATE ========== */
.success-state {
    text-align: center;
    padding: 2rem;
}
.success-check {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-gold-dim);
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--color-gold);
    animation: success-pop 0.5s cubic-bezier(0.4,0,0.2,1);
}
@keyframes success-pop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.success-code {
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--color-gold);
    direction: ltr;
    display: inline-block;
    background: var(--color-gold-dim);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: monospace;
}
.success-code:hover {
    background: rgba(200,169,74,0.25);
}
.copy-btn {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    transition: all 0.3s;
}
.copy-btn:hover {
    background: var(--color-gold);
    color: #070B14;
}
.success-msg {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}
.instructions-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: right;
}
.instructions-box h4 {
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}
.instructions-box li {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    padding: 0.35rem 0;
}
.instructions-box li::before {
    content: '• ';
    color: var(--color-gold);
}

/* ========== CODE ENTRY (order.php step 1) ========== */
.code-entry {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}
.code-entry h2 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.code-entry p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}
.code-input-group {
    display: flex;
    gap: 0.75rem;
}
.code-input-group input {
    flex: 1;
    text-align: center;
    font-size: var(--fs-xl);
    direction: ltr;
    letter-spacing: 3px;
}
.batch-info-card {
    background: var(--color-gold-dim);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    text-align: center;
}
.batch-info-card h3 {
    color: var(--color-gold);
    font-size: var(--fs-lg);
}

/* ========== STEP FLOW ========== */
.step-container {
    position: relative;
    overflow: hidden;
}
.step {
    transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}
.step-hidden {
    display: none;
}
.step-active {
    display: block;
    animation: slide-in 0.5s ease;
}
@keyframes slide-in {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .nav-drawer { display: block; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid:not(.swiper-mode) { grid-template-columns: 1fr; }
    .special-layout { grid-template-columns: 1fr; }
    .about-layout { grid-template-columns: 1fr; }
    .about-layout .about-cards { order: -1; }
    .footer-grid { grid-template-columns: 1fr; }
    .timeline { flex-direction: column; }
    .timeline::before { display: none; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .navbar { height: 60px; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .form-card { padding: 2rem 1.5rem; }
    .code-input-group { flex-direction: column; }
    .copyright-wrapper { flex-direction: column; text-align: center; }
    .copyright-left { justify-content: center; }
    .copyright-right { align-items: center; }
    section { padding: 60px 0; }
}

/* ========== LOADING SPINNER ========== */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== FORM SHAKE ========== */
.shake {
    animation: shake 0.4s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-10px); }
    80% { transform: translateX(10px); }
}

/* ========== ALERT ========== */
.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: var(--fs-sm);
}
.alert-error {
    background: rgba(231,76,60,0.15);
    border: 1px solid var(--color-error);
    color: var(--color-error);
}
.alert-success {
    background: rgba(46,204,113,0.15);
    border: 1px solid var(--color-success);
    color: var(--color-success);
}
.alert-info {
    background: rgba(200,169,74,0.15);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}
