/* ============================================================
   Success ITFarm — Main Stylesheet
   Dark modern tech theme with animated neon accents
============================================================ */

:root {
    --bg: #0b1020;
    --bg-2: #0e1530;
    --bg-3: #141d3d;
    --card: rgba(255, 255, 255, 0.04);
    --card-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.1);
    --border-2: rgba(255, 255, 255, 0.18);
    --text: #edf1fb;
    --text-2: #aab3d0;
    --muted: #7b86a8;
    --c1: #22d3ee;
    --c2: #8b5cf6;
    --c3: #f43f5e;
    --c4: #f59e0b;
    --grad: linear-gradient(90deg, #22d3ee, #8b5cf6, #f43f5e);
    --grad-btn: linear-gradient(90deg, #8b5cf6, #22d3ee);
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
    --font: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Ambient background glow */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(700px 450px at 8% 0%, rgba(139, 92, 246, 0.14), transparent 60%),
        radial-gradient(800px 500px at 92% 8%, rgba(34, 211, 238, 0.10), transparent 60%),
        radial-gradient(900px 650px at 50% 110%, rgba(244, 63, 94, 0.08), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Animated gradient text ---------- */
.grad, .t-success {
    background: linear-gradient(90deg, #22d3ee, #a78bfa, #f472b6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradFlow 4s linear infinite;
}

.t-it {
    background: linear-gradient(90deg, #fbbf24, #fb7185);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradFlow 4s linear infinite reverse;
}

@keyframes gradFlow { to { background-position: 200% center; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: var(--grad-btn);
    background-size: 180% auto;
    transition: all 0.35s ease;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(139, 92, 246, 0.55);
}

.btn:active { transform: translateY(-1px); }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-xs { padding: 5px 13px; font-size: 0.78rem; border-radius: 8px; }
.btn-block { width: 100%; }

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0; left: -130%;
    width: 55%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: shine 3.2s infinite;
}

@keyframes shine { to { left: 140%; } }

.btn-outline {
    background: transparent;
    border: 1px solid var(--c1);
    color: var(--c1);
    box-shadow: none;
}

.btn-outline:hover { background: rgba(34, 211, 238, 0.1); box-shadow: 0 0 22px rgba(34, 211, 238, 0.25); }

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-2);
    box-shadow: none;
    color: var(--text-2);
}

.btn-ghost:hover { background: var(--card-hover); border-color: var(--c1); color: #fff; box-shadow: none; }

.btn-buy-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    color: #1a0b2e;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
    transition: all 0.35s ease;
}

.btn-buy-now:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(245, 158, 11, 0.6); }

.btn-danger { background: linear-gradient(90deg, #f43f5e, #fb7185); box-shadow: 0 8px 24px rgba(244, 63, 94, 0.3); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 16, 32, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s ease;
}

.site-header.scrolled { background: rgba(9, 12, 26, 0.95); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 300px;
    align-items: center;
    gap: 24px;
    min-height: 76px;
    position: relative;
}

.header-shine {
    position: absolute;
    bottom: -1px; left: 0;
    height: 1px; width: 100%;
    background: linear-gradient(90deg, transparent, rgba(34,211,238,0.7), rgba(139,92,246,0.7), transparent);
    animation: headerGlow 3.5s ease-in-out infinite;
}

@keyframes headerGlow { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }

.brand-logo { display: inline-flex; align-items: center; gap: 10px; }

.logo-rocket {
    font-size: 1.75rem;
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.7));
    animation: rocketFloat 2.6s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(10deg); }
}

.logo-text { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; white-space: nowrap; }
.logo-dot { color: var(--c3); font-size: 1.5rem; animation: dotBlink 1.1s steps(1) infinite; }

@keyframes dotBlink { 0%,55% { opacity: 1; } 56%,100% { opacity: 0; } }

/* Main menu */
.main-menu { display: flex; align-items: center; gap: 4px; }

.main-menu a {
    display: inline-block;
    padding: 9px 14px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-2);
    border-radius: 999px;
    position: relative;
    transition: all 0.3s ease;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 3px; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 55%; height: 2px;
    background: var(--grad);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.main-menu a:hover, .main-menu a.active { color: #fff; text-shadow: 0 0 18px rgba(139,92,246,0.7); }
.main-menu a:hover::after, .main-menu a.active::after { transform: translateX(-50%) scaleX(1); }

.menu-cart, .menu-account { display: inline-flex; align-items: center; gap: 7px; }

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px; height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--c3), var(--c4));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(244,63,94,0.55); } 50% { box-shadow: 0 0 0 7px rgba(244,63,94,0); } }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.menu-toggle span { width: 26px; height: 2.5px; background: var(--text); border-radius: 3px; transition: all 0.3s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Search box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-2);
    border-radius: 999px;
    background: var(--card);
    transition: all 0.35s ease;
}

.search-box:focus-within {
    border-color: var(--c1);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15), 0 0 24px rgba(34, 211, 238, 0.25);
    background: rgba(255,255,255,0.06);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    padding: 11px 16px;
    font-size: 0.9rem;
    min-width: 0;
}

.search-box input::placeholder { color: var(--muted); }

.search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--grad-btn);
    color: #fff;
    margin-right: 4px;
    transition: all 0.3s ease;
}

.search-btn:hover { transform: rotate(-14deg) scale(1.06); box-shadow: 0 0 20px rgba(139,92,246,0.6); }

.search-drop {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    display: none;
    z-index: 1200;
    max-height: 320px;
    overflow-y: auto;
}

.search-drop.show { display: block; animation: dropIn 0.25s ease; }

@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.search-drop-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; transition: background 0.2s ease; }
.search-drop-item:hover { background: var(--card-hover); }
.sdi-name { font-weight: 600; font-size: 0.9rem; flex: 1; }
.sdi-price { font-size: 0.8rem; color: var(--c4); }
.sdi-empty { padding: 16px; color: var(--muted); text-align: center; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - 76px); overflow: hidden; }

.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0f172a, #1e1b4b 55%, #311b5e); z-index: 0; }

.hero-bg.fx::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 60% 20%, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 80% 50%, rgba(255,255,255,0.4), transparent);
    animation: stars 8s linear infinite;
}

@keyframes stars { from { transform: translateY(0); } to { transform: translateY(-60px); } }

.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    min-height: calc(100vh - 76px);
    padding: 70px 0;
    position: relative;
    z-index: 2;
}

.hero-copy .fx { animation: heroIn 0.9s ease both; }
.hero-copy .fx:nth-child(1) { animation-delay: 0.1s; }
.hero-copy .fx:nth-child(2) { animation-delay: 0.25s; }
.hero-copy .fx:nth-child(3) { animation-delay: 0.4s; }
.hero-copy .fx:nth-child(4) { animation-delay: 0.55s; }

@keyframes heroIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.hero-badge {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 999px;
    border: 1px solid rgba(34,211,238,0.4);
    background: rgba(34,211,238,0.1);
    color: #67e8f9;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.14;
    font-weight: 800;
    margin-bottom: 18px;
    background: linear-gradient(90deg, #fff, #c7d2fe, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .grad { display: block; margin-top: 4px; font-size: 1.05em; }

.hero-sub { font-size: 1.1rem; color: var(--text-2); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero orbit art */
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; }

.orbit { position: relative; width: 380px; height: 380px; display: flex; align-items: center; justify-content: center; }

.orbit-core {
    position: relative;
    width: 130px; height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(34,211,238,0.3));
    border: 1px solid rgba(255,255,255,0.25);
    animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
    0%,100% { box-shadow: 0 0 40px rgba(139,92,246,0.45); transform: scale(1); }
    50% { box-shadow: 0 0 80px rgba(34,211,238,0.65); transform: scale(1.05); }
}

.oc-pulse {
    position: absolute;
    inset: -24px;
    border-radius: 50%;
    border: 1px solid rgba(34,211,238,0.4);
    animation: pulseRing 3s ease-out infinite;
}

@keyframes pulseRing { 0% { transform: scale(0.7); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.orbit-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.22); }
.orbit-ring.r1 { width: 250px; height: 250px; animation: spin 22s linear infinite; }
.orbit-ring.r2 { width: 340px; height: 340px; border-style: solid; border-color: rgba(139,92,246,0.18); animation: spin 34s linear infinite reverse; }

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

.orbit-dot {
    position: absolute;
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border);
    backdrop-filter: blur(6px);
    animation: floatDot 4s ease-in-out infinite;
}

.orbit-dot.d1 { top: 18px; left: 50%; transform: translateX(-50%); }
.orbit-dot.d2 { top: 26%; right: 4%; }
.orbit-dot.d3 { bottom: 18%; right: 12%; }
.orbit-dot.d4 { bottom: 4%; left: 30%; }
.orbit-dot.d5 { top: 30%; left: 0; }

@keyframes floatDot { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }

.hd {
    width: 10px; height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.hd.is-active { width: 32px; background: linear-gradient(90deg, var(--c1), var(--c2)); box-shadow: 0 0 14px rgba(34,211,238,0.6); }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    font-size: 1.6rem;
    color: #fff;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.hero-arrow:hover { background: var(--c2); border-color: var(--c2); box-shadow: 0 0 26px rgba(139,92,246,0.6); }
.hero-arrow.left { left: 20px; }
.hero-arrow.right { right: 20px; }

/* ---------- Marquee ---------- */
.marquee-wrap {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

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

.mq-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mq-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c2); box-shadow: 0 0 10px var(--c2); animation: dotPulse 1.4s ease-in-out infinite; }

@keyframes dotPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.6); } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }

.section-alt {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.04));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }

.sec-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c1);
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(34,211,238,0.35);
    background: rgba(34,211,238,0.07);
    margin-bottom: 14px;
}

.sec-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.sec-sub { color: var(--text-2); font-size: 1.05rem; }
.sec-more { text-align: center; margin-top: 46px; }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--c1), transparent 40%, transparent 60%, var(--c2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

.product-card:hover { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(139,92,246,0.22); background: var(--card-hover); }
.product-card:hover::before { opacity: 1; }

.pc-media {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124,58,237,0.18), #101a38 70%);
    overflow: hidden;
}

.pc-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, var(--cat-glow, rgba(139,92,246,0.35)), transparent 60%);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.product-card:hover .pc-media::after { opacity: 1; }

.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .pc-media img { transform: scale(1.08); }

.pc-emoji { font-size: 4.2rem; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5)); transition: transform 0.5s ease; z-index: 1; }
.product-card:hover .pc-emoji { transform: scale(1.2) rotate(-6deg); }

.pc-badge {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 2;
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--c3), var(--c4));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(244,63,94,0.4);
}

.pc-body { padding: 22px; }

.pc-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; transition: color 0.3s ease; }
.product-card:hover .pc-title { color: var(--c1); }

.pc-desc { color: var(--text-2); font-size: 0.9rem; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.pc-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.pc-price .now { font-size: 1.45rem; font-weight: 800; color: #fff; }
.pc-price .old { color: var(--muted); text-decoration: line-through; font-size: 0.95rem; }

.pc-actions { display: flex; gap: 10px; }
.pc-actions .btn { flex: 1; padding: 11px 14px; font-size: 0.88rem; }

/* ---------- Feature cards ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}

.feature-card:hover { transform: translateY(-8px); background: var(--card-hover); box-shadow: 0 20px 50px rgba(139,92,246,0.2); }
.feature-card:hover::before { transform: scaleX(1); }

.fc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px; height: 62px;
    border-radius: 18px;
    font-size: 1.8rem;
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.3);
    margin-bottom: 18px;
    animation: floatDot 5s ease-in-out infinite;
}

.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: 0.92rem; }

/* ---------- Packages ---------- */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; align-items: stretch; }

.package-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.package-card:hover { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(139,92,246,0.25); }

.package-card.featured {
    background: linear-gradient(160deg, rgba(139,92,246,0.16), rgba(34,211,238,0.08));
    border: 1px solid rgba(139,92,246,0.5);
    box-shadow: 0 20px 60px rgba(139,92,246,0.3);
}

.pkg-badge {
    position: absolute;
    top: 18px; right: -34px;
    transform: rotate(45deg);
    background: linear-gradient(90deg, var(--c4), var(--c3));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 44px;
    letter-spacing: 1px;
}

.pkg-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 4px; }
.pkg-sub { color: var(--text-2); font-size: 0.9rem; margin-bottom: 20px; }

.pkg-price { margin-bottom: 22px; }
.pkg-price .now { font-size: 2.4rem; font-weight: 800; background: linear-gradient(90deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pkg-price .old { color: var(--muted); text-decoration: line-through; margin-left: 10px; font-size: 1rem; }

.pkg-features { flex: 1; margin-bottom: 26px; }
.pkg-feature { display: flex; gap: 10px; padding: 7px 0; color: var(--text-2); font-size: 0.95rem; }
.pkg-feature::before { content: '✓'; color: var(--c1); font-weight: 700; }

.pkg-btn .btn { width: 100%; }

/* ---------- Stats ---------- */
.stats { padding: 60px 0; background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(34,211,238,0.08)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

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

.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 2.8rem; font-weight: 800; background: linear-gradient(90deg, #fff, var(--c1)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; }
.stat-suffix { font-size: 2.2rem; font-weight: 800; color: var(--c2); margin-left: 3px; }
.stat-label { color: var(--text-2); font-size: 0.95rem; margin-top: 6px; }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; }

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.project-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(34,211,238,0.18); }

.pj-media { position: relative; height: 220px; overflow: hidden; }
.pj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .pj-media img { transform: scale(1.1); }

.pj-emoji { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 4rem; background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(139,92,246,0.15)); }

.pj-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(11,16,32,0.9));
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.pj-body { padding: 20px 22px; }
.pj-cat { font-size: 0.78rem; font-weight: 700; color: var(--c1); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.pj-title { font-size: 1.15rem; font-weight: 700; }
.pj-desc { color: var(--text-2); font-size: 0.9rem; margin-top: 8px; }
.pj-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pj-tech span { font-size: 0.75rem; padding: 4px 12px; border-radius: 999px; background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.3); color: var(--text-2); }
.pj-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--c1); font-weight: 600; font-size: 0.9rem; transition: gap 0.3s ease; }
.pj-link:hover { gap: 12px; }

/* ---------- Testimonials ---------- */
.testi-slider { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 10px; }

.testi-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    transition: all 0.4s ease;
}

.testi-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(34,211,238,0.15); }

.tc-quote {
    position: absolute;
    top: 14px; right: 22px;
    font-size: 4.5rem;
    line-height: 1;
    color: rgba(139,92,246,0.25);
    font-family: Georgia, serif;
}

.tc-msg { color: var(--text); font-size: 0.98rem; margin-bottom: 18px; padding-right: 20px; }

.tc-rating { color: #fbbf24; letter-spacing: 3px; margin-bottom: 16px; }
.tc-rating span { opacity: 0.25; }
.tc-rating span.on { opacity: 1; text-shadow: 0 0 12px rgba(251,191,36,0.5); }

.tc-author { display: flex; align-items: center; gap: 14px; }

.tc-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: linear-gradient(135deg, var(--c2), var(--c1));
    box-shadow: 0 0 20px rgba(139,92,246,0.4);
}

.tc-author strong { display: block; font-size: 0.98rem; }
.tc-role { color: var(--muted); font-size: 0.82rem; }

.testi-nav { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.tn-prev, .tn-next {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border-2);
    color: var(--text);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}
.tn-prev:hover, .tn-next:hover { background: var(--c2); border-color: var(--c2); box-shadow: 0 0 24px rgba(139,92,246,0.5); }

/* ---------- CTA ---------- */
.cta-section { padding: 80px 0; }
.cta-inner {
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(34,211,238,0.12), rgba(244,63,94,0.12));
    border: 1px solid rgba(139,92,246,0.3);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    inset: -50% -30% auto auto;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.25), transparent 60%);
    animation: corePulse 4s ease-in-out infinite;
}

.cta-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.cta-sub { color: var(--text-2); max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 2; }

/* ---------- Footer ---------- */
.site-footer { background: #080c1a; border-top: 1px solid var(--border); padding: 70px 0 0; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }

.footer-brand p { color: var(--text-2); font-size: 0.95rem; margin: 16px 0 22px; max-width: 320px; }

.footer-social { display: flex; gap: 10px; }

.f-social {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    background: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.f-social:hover { background: var(--c2); border-color: var(--c2); transform: translateY(-4px); box-shadow: 0 10px 24px rgba(139,92,246,0.4); }

.footer-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 18px; }

.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--text-2); font-size: 0.93rem; transition: all 0.3s ease; position: relative; padding-left: 0; }
.footer-links a:hover { color: var(--c1); padding-left: 6px; }

.footer-contact li { display: flex; gap: 12px; color: var(--text-2); font-size: 0.93rem; margin-bottom: 14px; }
.footer-contact .fc-icon { color: var(--c1); }

.newsletter { margin-top: 20px; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input {
    flex: 1;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid var(--border-2);
    background: var(--card);
    color: var(--text);
    outline: none;
    transition: all 0.3s ease;
    min-width: 0;
}
.newsletter input:focus { border-color: var(--c1); box-shadow: 0 0 0 4px rgba(34,211,238,0.12); }
.newsletter .btn { padding: 11px 18px; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.88rem;
}

/* ---------- Floating toggles ---------- */
.floating-toggles { position: fixed; bottom: 22px; right: 22px; z-index: 2000; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

.ft-fab {
    width: 58px; height: 58px;
    border-radius: 50%;
    border: none;
    font-size: 1.7rem;
    background: linear-gradient(135deg, var(--c2), var(--c1));
    box-shadow: 0 10px 30px rgba(139,92,246,0.5);
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ft-fab:hover { transform: scale(1.1) rotate(10deg); box-shadow: 0 14px 40px rgba(34,211,238,0.6); }

.ft-dial {
    display: none;
    flex-direction: column;
    gap: 12px;
    animation: dialIn 0.3s ease;
}

.ft-dial.open { display: flex; }

@keyframes dialIn { from { opacity: 0; transform: translateY(14px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }

.ft-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-2);
    background: rgba(11,16,32,0.95);
    backdrop-filter: blur(10px);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.ft-btn:hover { transform: translateX(-6px); border-color: var(--c1); color: var(--c1); }

.ft-close { display: none; }
.ft-close.show { display: inline-flex; }

/* ---------- Page hero ---------- */
.page-hero { padding: 70px 0 40px; text-align: center; position: relative; }

.page-hero.compact { padding: 48px 0 20px; }

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 300px;
    background: radial-gradient(ellipse, rgba(139,92,246,0.18), transparent 65%);
    pointer-events: none;
}

.page-title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; position: relative; }
.page-sub { color: var(--text-2); font-size: 1.05rem; margin-top: 10px; position: relative; }
.back-link { display: inline-block; color: var(--text-2); font-size: 0.9rem; margin-bottom: 14px; transition: color 0.3s ease; }
.back-link:hover { color: var(--c1); }

/* ---------- Forms & alerts ---------- */
input, select, textarea {
    width: 100%;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-2);
    background: var(--card);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--c1);
    box-shadow: 0 0 0 4px rgba(34,211,238,0.12);
}

input::placeholder, textarea::placeholder { color: var(--muted); }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
textarea { resize: vertical; }

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    border: 1px solid;
    animation: dropIn 0.4s ease;
}

.alert-success { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.4); color: #4ade80; }
.alert-error { background: rgba(244,63,94,0.1); border-color: rgba(244,63,94,0.4); color: #fb7185; }
.alert-info { background: rgba(34,211,238,0.1); border-color: rgba(34,211,238,0.4); color: #67e8f9; }

.remember { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 0.9rem; margin: 8px 0 18px; cursor: pointer; }
.remember input { width: auto; accent-color: var(--c2); }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--text-2); }
.checkbox-label input { width: auto; accent-color: var(--c2); }

.inline { display: inline; }

/* ---------- Product detail ---------- */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.pd-media {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124,58,237,0.15), #101a38 70%);
    min-height: 420px;
}

.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-emoji { font-size: 6rem; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); animation: floatDot 5s ease-in-out infinite; }

.pd-cat { color: var(--c1); font-weight: 700; font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.pd-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.pd-desc { color: var(--text-2); font-size: 1.05rem; margin-bottom: 24px; }

.pd-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.pd-price .now { font-size: 2.2rem; font-weight: 800; background: linear-gradient(90deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pd-price .old { color: var(--muted); text-decoration: line-through; font-size: 1.15rem; }

.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }

.pd-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-meta span {
    font-size: 0.82rem;
    color: var(--text-2);
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
}

.pd-sections { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.pd-desc-block, .pd-features { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }

.pd-desc-block h3, .pd-features h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; }
.pd-desc-block p { color: var(--text-2); margin-bottom: 12px; }

.pd-feature-list li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--border); color: var(--text-2); }
.pd-feature-list li:last-child { border-bottom: none; }
.pf-check {
    color: var(--c1);
    font-weight: 800;
    background: rgba(34,211,238,0.1);
    width: 24px; height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

/* ---------- Cart ---------- */
.cart-table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.cart-table { width: 100%; border-collapse: collapse; }

.cart-table th {
    text-align: left;
    padding: 16px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}

.cart-table td { padding: 18px 20px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-table tr { transition: background 0.3s ease; }
.cart-table tbody tr:hover { background: var(--card-hover); }

.cart-name { font-weight: 600; }

.qty-form { display: inline-flex; align-items: center; gap: 8px; }
.qty-input { width: 72px; text-align: center; padding: 8px 6px; }

.cart-total { font-weight: 700; color: var(--c1); }

.btn-remove {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-2);
    background: transparent;
    color: var(--muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-remove:hover { background: rgba(244,63,94,0.15); border-color: var(--c3); color: var(--c3); transform: rotate(90deg); }

.cart-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; flex-wrap: wrap; }

.cart-summary { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 24px; }
.cart-summary strong { font-size: 1.5rem; color: var(--c1); }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 30px; align-items: start; }

.co-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }

.payment-note {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(139,92,246,0.08));
    border: 1px solid rgba(34,211,238,0.3);
    margin-bottom: 22px;
}

.pn-icon { font-size: 2rem; }
.payment-note strong { display: block; }
.payment-note p { color: var(--text-2); font-size: 0.88rem; }

.co-summary { margin: 22px 0; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.co-summary h4 { margin-bottom: 14px; }
.co-summary li { display: flex; justify-content: space-between; padding: 8px 0; color: var(--text-2); font-size: 0.93rem; border-bottom: 1px dashed var(--border); }
.co-summary li span:last-child { color: var(--text); }
.co-total { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; font-size: 1.15rem; }
.co-total strong { color: var(--c1); font-size: 1.5rem; }

.co-side .co-trust { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.co-trust h4 { margin-bottom: 14px; }
.co-trust li { padding: 9px 0; color: var(--text-2); font-size: 0.93rem; border-bottom: 1px dashed var(--border); }
.co-trust li:last-child { border-bottom: none; }

/* ---------- Result pages ---------- */
.result-page { padding: 70px 0 100px; }

.result-card {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px 40px;
}

.result-card.success { border-color: rgba(34,197,94,0.4); box-shadow: 0 24px 70px rgba(34,197,94,0.12); }
.result-card.cancelled { border-color: rgba(244,63,94,0.4); }

.result-icon {
    width: 90px; height: 90px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    position: relative;
}

.success .result-icon { background: rgba(34,197,94,0.15); color: #4ade80; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); animation: badgePulse 2.4s infinite; }
.cancelled .result-icon { background: rgba(244,63,94,0.15); color: #fb7185; }

.result-card h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 10px; }
.result-card > p { color: var(--text-2); margin-bottom: 6px; }

.result-meta { margin: 28px 0; text-align: left; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.result-meta > div { display: flex; justify-content: space-between; padding: 13px 18px; border-bottom: 1px dashed var(--border); }
.result-meta > div:last-child { border-bottom: none; }
.result-meta span { color: var(--muted); font-size: 0.9rem; }

.pill { padding: 4px 14px; border-radius: 999px; font-size: 0.8rem; background: rgba(244,63,94,0.15); color: #fb7185; }
.pill.ok { background: rgba(34,197,94,0.15); color: #4ade80; }

.result-note { color: var(--text-2); margin-top: 18px; }
.result-actions { display: flex; justify-content: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Auth ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; }

.auth-card { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 44px 38px; text-align: center; }

.auth-icon { font-size: 2.6rem; display: inline-block; animation: floatDot 4s ease-in-out infinite; }
.auth-head { margin-bottom: 24px; }
.auth-head .page-title { font-size: 1.8rem; }
.auth-head p { color: var(--text-2); }

.auth-card form input { margin-bottom: 14px; text-align: left; }
.auth-card .btn { margin-top: 8px; }
.auth-alt { color: var(--text-2); margin-top: 22px; font-size: 0.93rem; }
.auth-alt a { color: var(--c1); font-weight: 600; }

/* ---------- Account ---------- */
.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }

.account-side { padding: 26px; position: sticky; top: 100px; }

.as-user { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }

.as-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--c2), var(--c1));
    box-shadow: 0 0 20px rgba(139,92,246,0.4);
}

.as-user strong { display: block; }
.as-user span { color: var(--muted); font-size: 0.85rem; word-break: break-all; }

.as-menu li a, .as-menu .logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-2);
    font-size: 0.95rem;
    background: none;
    border: none;
    text-align: left;
    transition: all 0.3s ease;
}

.as-menu li a:hover, .as-menu li a.active, .as-menu .logout-btn:hover { background: rgba(139,92,246,0.12); color: var(--c1); }

.am-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 20px; }

/* ---------- Tables ---------- */
.table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.table { width: 100%; border-collapse: collapse; }

.table th {
    text-align: left;
    padding: 14px 18px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}

.table td { padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--text-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--card-hover); color: var(--text); }
.table td.empty { text-align: center; color: var(--muted); padding: 30px; }
.table a { color: var(--c1); }

.badge { padding: 4px 13px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.badge-pending { background: rgba(245,158,11,0.15); color: #fbbf24; }
.badge-processing { background: rgba(34,211,238,0.15); color: #67e8f9; }
.badge-completed { background: rgba(34,197,94,0.15); color: #4ade80; }
.badge-cancelled, .badge-failed { background: rgba(244,63,94,0.15); color: #fb7185; }

.pagination { display: flex; justify-content: center; padding: 26px 0; }
.pagination ul { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; height: 40px;
    padding: 0 8px;
    border-radius: 10px;
    border: 1px solid var(--border-2);
    color: var(--text-2);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.pagination a:hover { background: rgba(139,92,246,0.15); border-color: var(--c2); color: #fff; }
.pagination .active span { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 0 20px rgba(139,92,246,0.4); }
.pagination .disabled span { opacity: 0.35; cursor: not-allowed; }

/* ---------- Empty state ---------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    max-width: 480px;
    margin: 0 auto;
}

.empty-state.small { padding: 30px 20px; }

.es-icon { font-size: 3.6rem; display: inline-block; margin-bottom: 14px; animation: floatDot 4s ease-in-out infinite; }
.empty-state h3 { font-size: 1.5rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-2); margin-bottom: 22px; }
.empty-state a { color: var(--c1); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.about-copy p { color: var(--text-2); margin-bottom: 16px; }

.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.tag { font-size: 0.82rem; padding: 8px 18px; border-radius: 999px; background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.3); color: var(--text-2); transition: all 0.3s ease; }
.tag:hover { background: rgba(139,92,246,0.25); color: #fff; transform: translateY(-3px); }

.about-art { display: grid; gap: 20px; }

.aa-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: all 0.4s ease; }
.aa-card:hover { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(34,211,238,0.15); border-color: rgba(34,211,238,0.4); }
.aa-emoji { font-size: 2rem; display: inline-block; margin-bottom: 10px; }
.aa-card h3 { margin-bottom: 6px; }
.aa-card p { color: var(--text-2); font-size: 0.93rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }

.ci-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px dashed var(--border);
    transition: all 0.3s ease;
}

.ci-card:last-child { border-bottom: none; }
.ci-card:hover { padding-left: 10px; }

.ci-icon {
    width: 52px; height: 52px;
    flex-shrink: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.3);
}

.ci-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.ci-card p { color: var(--text-2); font-size: 0.93rem; }
.ci-card a:hover { color: var(--c1); }

.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.contact-form textarea { margin-bottom: 14px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal].revealed.del-1 { transition-delay: 0.1s; }
[data-reveal].revealed.del-2 { transition-delay: 0.2s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .header-grid { grid-template-columns: 1fr auto 1fr; }
    .search-box { max-width: 260px; justify-self: end; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; padding: 60px 0 80px; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .orbit { width: 300px; height: 300px; }
    .product-detail { grid-template-columns: 1fr; }
    .pd-media { min-height: 320px; aspect-ratio: auto; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .pd-sections { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
    .account-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .main-menu {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(9,12,26,0.98);
        border-bottom: 1px solid var(--border);
        padding: 10px 20px 20px;
        display: none;
        box-shadow: var(--shadow);
    }
    .main-menu.open { display: flex; animation: dropIn 0.3s ease; }
    .main-menu a { text-align: center; }
    .header-grid { grid-template-columns: 1fr auto; gap: 12px; }
    .header-search { display: none; }
    .section { padding: 60px 0; }
    .hero { min-height: auto; }
    .hero-grid { min-height: auto; }
    .products-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .cart-table { min-width: 620px; }
    .cart-table-wrap { overflow-x: auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .cf-row { grid-template-columns: 1fr; }
    .hero-arrow { display: none; }
    .pd-actions { flex-direction: column; }
    .pd-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
    .logo-text { font-size: 1.25rem; }
    .logo-rocket { font-size: 1.4rem; }
    .menu-account .label, .menu-cart .label { display: none; }
}
