/* ============================================================
   MogamiSoft "Electric" Theme  —  global stylesheet
   Palette  : #050505 base · #00e676 neon · #00f5ff cyan
              #b967ff purple · #ff6b9d pink · #39ff14 green
   Fonts    : Outfit (body) · Space Grotesk (display)
   ============================================================ */

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
}

section[id],
div[id] {
    scroll-margin-top: 90px;
}

.font-space,
h1, h2, h3, h4, .stat-number {
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
}

::selection {
    background: rgba(0, 230, 118, 0.35);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0a0a0f;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00e676, #00a843);
    border-radius: 8px;
}

input::placeholder,
textarea::placeholder {
    color: rgba(156, 163, 175, 0.65);
}

select option {
    background: #0a0a0f;
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- Aurora / grid ambience ---------- */
.aurora-bg {
    background: linear-gradient(135deg,
        rgba(0, 229, 118, 0.08) 0%,
        rgba(0, 245, 255, 0.06) 25%,
        rgba(185, 103, 255, 0.06) 50%,
        rgba(0, 212, 170, 0.08) 75%,
        rgba(0, 229, 118, 0.08) 100%);
    background-size: 400% 400%;
    animation: auroraShift 15s ease infinite;
}

@keyframes auroraShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.grid-pattern {
    background-image:
        linear-gradient(rgba(0, 229, 118, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 118, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.gradient-orb {
    animation: orbDrift 9s ease-in-out infinite alternate;
}

@keyframes orbDrift {
    0%   { transform: translate3d(-20px, 10px, 0) scale(1); }
    50%  { transform: translate3d(30px, -30px, 0) scale(1.08); }
    100% { transform: translate3d(-10px, 35px, 0) scale(0.96); }
}

/* ---------- Text / card treatments ---------- */
.gradient-text {
    background: linear-gradient(135deg, #00e676 0%, #00f5ff 50%, #b967ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neon-text {
    text-shadow: 0 0 10px rgba(0, 229, 118, 0.5),
                 0 0 20px rgba(0, 229, 118, 0.3),
                 0 0 40px rgba(0, 229, 118, 0.2);
}

.stat-number {
    background: linear-gradient(135deg, #00e676, #00f5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: rgba(10, 10, 15, 0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 118, 0.15);
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.glass-card:hover {
    border-color: rgba(0, 229, 118, 0.4);
    box-shadow: 0 0 20px rgba(0, 229, 118, 0.15),
                0 0 40px rgba(0, 229, 118, 0.05);
}

.counter {
    font-variant-numeric: tabular-nums;
}

/* ---------- Particles ---------- */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00e676;
    border-radius: 50%;
    opacity: .6;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.8; }
    90%  { opacity: 0.8; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

/* ---------- Scroll reveal ---------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all .8s cubic-bezier(.5, 0, 0, 1);
}

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

.section-line {
    width: 0;
    height: 1px;
    margin: 0 auto 20px;
    background: linear-gradient(90deg, transparent, #00e676, #00f5ff, transparent);
    transition: width 1.2s ease;
}

.section-line.active {
    width: 100px;
}

.section-line.line-start {
    margin-left: 0;
}

/* ---------- Scroll progress + cursor glow ---------- */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    z-index: 100;
    background: linear-gradient(90deg, #00e676, #00f5ff, #b967ff);
    box-shadow: 0 0 12px rgba(0, 230, 118, .7);
}

.cursor-glow {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle,
        rgba(0, 230, 118, .10) 0%,
        rgba(0, 245, 255, .045) 35%,
        transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .3s ease;
    mix-blend-mode: screen;
}

/* ---------- Back to top ---------- */
.back-to-top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ---------- Service icon ring (theme micro-interaction) ---------- */
.service-icon {
    position: relative;
}

.service-icon::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 16px;
    border: 1px solid rgba(0, 230, 118, .18);
    transform: scale(.8);
    opacity: 0;
    transition: all .35s ease;
}

.group:hover .service-icon::before {
    transform: scale(1.08);
    opacity: 1;
    box-shadow: 0 0 25px rgba(0, 230, 118, .15);
}

/* ---------- 3D tilt / shine / glitch ---------- */
.hero-content {
    transform-style: preserve-3d;
    transition: transform .15s ease-out;
}

.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .18s ease-out, border-color .3s ease, box-shadow .3s ease;
}

.tilt-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(
        circle at var(--mx, 50%) var(--my, 50%),
        rgba(255, 255, 255, .10),
        transparent 32%
    );
    opacity: 0;
    transition: opacity .25s ease;
}

.tilt-card:hover::after {
    opacity: 1;
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -60%;
    width: 40%;
    height: 340%;
    transform: rotate(25deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent);
    transition: left .7s ease;
    pointer-events: none;
}

.shine:hover::before {
    left: 125%;
}

.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.glitch-text:hover::before {
    opacity: .5;
    color: #00f5ff;
    transform: translate(2px, -1px);
    clip-path: inset(10% 0 60% 0);
}

.glitch-text:hover::after {
    opacity: .35;
    color: #ff6b9d;
    transform: translate(-2px, 1px);
    clip-path: inset(55% 0 10% 0);
}

.typing-caret {
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 5px;
    vertical-align: -2px;
    background: #00e676;
    animation: caretBlink .8s steps(1) infinite;
}

@keyframes caretBlink {
    50% { opacity: 0; }
}

/* ============================================================
   Navigation
   ============================================================ */
#navbar {
    transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
    border-bottom: 1px solid transparent;
}

#navbar.nav-scrolled {
    background: rgba(10, 10, 15, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 229, 118, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00e676, #00f5ff);
    transition: width .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 30px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    transition: all .25s ease;
}

.lang-btn:hover {
    color: #fff;
    border-color: rgba(0, 230, 118, 0.5);
}

.lang-btn.active {
    background: rgba(0, 230, 118, 0.15);
    border-color: rgba(0, 230, 118, 0.6);
    color: #00e676;
}


/* ============================================================
   Buttons — gradient primary + electric current effects
   ============================================================ */
.btn-primary {
    background: linear-gradient(135deg, #00e676, #00c853);
    color: #050505;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left .5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
    transition: all .3s ease;
}

.btn-outline:hover {
    border-color: #00e676;
    color: #00e676;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.12);
}

/* Electric current (conic) border + glow + arcs + sparks */
.electric-btn {
    --electric-x: 50%;
    --electric-y: 50%;
    isolation: isolate;
}

.electric-btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background:
        conic-gradient(
            from 0deg at var(--electric-x) var(--electric-y),
            transparent 0deg,
            rgba(0, 245, 255, .15) 25deg,
            #00f5ff 55deg,
            #ffffff 68deg,
            #00e676 82deg,
            transparent 115deg,
            transparent 360deg
        );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    z-index: -1;
    transition: opacity .25s ease;
}

.electric-btn:hover::after {
    opacity: 1;
    animation: electricSpin .65s linear infinite;
}

.electric-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(
            circle at var(--electric-x) var(--electric-y),
            rgba(255, 255, 255, .45) 0,
            rgba(0, 245, 255, .18) 8%,
            transparent 30%
        );
    opacity: 0;
    z-index: -1;
    transition: opacity .2s ease;
    pointer-events: none;
}

.electric-btn:hover::before {
    opacity: 1;
}

.electric-btn:hover {
    box-shadow:
        0 0 8px rgba(0, 245, 255, .35),
        0 0 18px rgba(0, 230, 118, .28),
        0 0 38px rgba(0, 245, 255, .18);
}

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

/* Little electrical arcs travelling across the button */
.electric-btn .electric-arc {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    filter: drop-shadow(0 0 4px #00f5ff);
}

.electric-btn:hover .electric-arc {
    opacity: 1;
}

.electric-btn .arc-1 {
    width: 16px;
    height: 3px;
    top: 7px;
    left: 12%;
    background: linear-gradient(90deg, transparent, #fff, #00f5ff, transparent);
    animation: arcTravel1 .55s linear infinite;
}

.electric-btn .arc-2 {
    width: 12px;
    height: 3px;
    bottom: 7px;
    right: 13%;
    background: linear-gradient(90deg, transparent, #fff, #00e676, transparent);
    animation: arcTravel2 .7s linear infinite;
}

@keyframes arcTravel1 {
    0%   { transform: translateX(0) rotate(-8deg); }
    100% { transform: translateX(180px) rotate(-8deg); }
}

@keyframes arcTravel2 {
    0%   { transform: translateX(0) rotate(8deg); }
    100% { transform: translateX(-160px) rotate(8deg); }
}

/* Electric sparks */
.electric-spark {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow:
        0 0 4px #fff,
        0 0 9px #00f5ff,
        0 0 16px #00e676;
    pointer-events: none;
    opacity: 0;
}

.electric-btn:hover .electric-spark {
    animation: sparkFlash .45s ease-out infinite;
}

.spark-a { left: 18%; top: 18%; animation-delay: 0s !important; }
.spark-b { left: 73%; top: 76%; animation-delay: .13s !important; }
.spark-c { left: 88%; top: 25%; animation-delay: .26s !important; }
.spark-d { left: 35%; top: 84%; animation-delay: .37s !important; }

@keyframes sparkFlash {
    0%, 100% { opacity: 0; transform: scale(.3); }
    25%      { opacity: 1; transform: scale(1.5); }
    55%      { opacity: .25; transform: scale(.6) translate(3px, -3px); }
}

/* Magnetic lift on primary buttons */
.magnetic-btn {
    will-change: transform;
    transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}

.magnetic-btn:hover {
    box-shadow: 0 12px 45px rgba(0, 230, 118, .22);
}


/* ============================================================
   Sub-page hero (shared by inner pages)
   ============================================================ */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 10.5rem 0 5rem;
}

@media (min-width: 768px) {
    .page-hero { padding: 12rem 0 6rem; }
}

.page-hero .ph-inner {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px)  { .page-hero .ph-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .page-hero .ph-inner { padding: 0 2rem; } }

.page-hero .ph-orb {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
}

.ph-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 230, 118, 0.3);
    background: rgba(0, 230, 118, 0.05);
    color: #00e676;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.ph-kicker .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00e676;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.ph-title {
    color: #fff;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.ph-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 42rem;
}

.ph-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: .8125rem;
    margin-bottom: 1.25rem;
}

.ph-breadcrumb a { color: rgba(255, 255, 255, 0.4); transition: color .2s ease; }
.ph-breadcrumb a:hover { color: #00e676; }
.ph-breadcrumb .sep { color: rgba(0, 230, 118, 0.4); }
.ph-breadcrumb .current { color: #00e676; }

/* ============================================================
   CMS / blog rich content typography
   ============================================================ */
.page-content {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.0625rem;
    line-height: 1.85;
    word-wrap: break-word;
}

.page-content h1, .page-content h2, .page-content h3,
.page-content h4, .page-content h5, .page-content h6 {
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 1.75em 0 .6em;
}

.page-content h1 { font-size: 2rem; }
.page-content h2 { font-size: 1.7rem; }
.page-content h3 { font-size: 1.35rem; }
.page-content h4 { font-size: 1.15rem; }

.page-content p { margin-bottom: 1.1rem; }

.page-content ul,
.page-content ol {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}

.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }

.page-content li { margin-bottom: .4rem; }

.page-content img {
    max-width: 100%;
    border-radius: 14px;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-content a {
    color: #00f5ff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}

.page-content a:hover { color: #00e676; }

.page-content blockquote {
    border-left: 4px solid #00e676;
    background: rgba(0, 230, 118, 0.05);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 0 14px 14px 0;
}

.page-content code {
    background: rgba(0, 230, 118, 0.12);
    color: #00f5ff;
    padding: .15rem .45rem;
    border-radius: 6px;
    font-size: .9em;
}

.page-content pre {
    background: #0a0a0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.page-content pre code {
    background: transparent;
    padding: 0;
    color: #b3ffd9;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.page-content th,
.page-content td {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: .6rem .9rem;
    text-align: left;
}

.page-content th {
    background: rgba(0, 230, 118, 0.08);
    color: #fff;
}

/* RTL helpers */
[dir="rtl"] .page-content blockquote {
    border-left: none;
    border-right: 4px solid #00e676;
    border-radius: 14px 0 0 14px;
}

[dir="rtl"] .page-content ul,
[dir="rtl"] .page-content ol {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .page-content th,
[dir="rtl"] .page-content td {
    text-align: right;
}


/* ============================================================
   Blog / cards / sidebar components
   ============================================================ */
.blog-card {
    background: rgba(10, 10, 15, 0.7);
    border: 1px solid rgba(0, 229, 118, 0.12);
    border-radius: 18px;
    overflow: hidden;
    display: block;
    transition: all .3s ease;
}

.blog-card:hover {
    border-color: rgba(0, 230, 118, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.12), 0 24px 50px rgba(0, 0, 0, 0.35);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: .8125rem;
    margin-bottom: .75rem;
}

.blog-card .blog-cat {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    color: #00e676;
    background: rgba(0, 230, 118, 0.1);
    padding: .25rem .8rem;
    border-radius: 999px;
    margin-bottom: .75rem;
    transition: all .2s ease;
}

.blog-card .blog-cat:hover {
    background: rgba(0, 230, 118, 0.2);
}

.blog-card h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .75rem;
    transition: color .2s ease;
}

.blog-card:hover h3 { color: #00e676; }

.blog-card .blog-excerpt {
    color: rgba(255, 255, 255, 0.5);
    font-size: .875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-card .blog-more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #00e676;
    font-weight: 600;
    font-size: .875rem;
    transition: gap .25s ease;
}

.blog-card:hover .blog-more { gap: .75rem; }

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar */
.sidebar-widget {
    background: rgba(10, 10, 15, 0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 118, 0.12);
    border-radius: 18px;
    padding: 1.5rem;
}

.sidebar-widget-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .75rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: .875rem;
    transition: all .2s;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(0, 230, 118, 0.1);
    color: #00e676;
}

.social-chip {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    transition: all .25s ease;
}

.social-chip:hover {
    background: rgba(0, 230, 118, 0.18);
    color: #00e676;
    transform: translateY(-2px);
}

/* Pagination */
.pagination-btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-size: .875rem;
    font-weight: 500;
    transition: all .2s;
}

.pagination-btn:hover {
    border-color: #00e676;
    color: #00e676;
    box-shadow: 0 0 14px rgba(0, 230, 118, 0.12);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #00e676, #00c853);
    border-color: transparent;
    color: #050505;
    font-weight: 700;
}

/* Post navigation */
.post-nav-btn {
    display: block;
    padding: 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 15, 0.7);
    transition: all .3s;
}

.post-nav-btn:hover {
    border-color: rgba(0, 230, 118, 0.4);
    background: rgba(0, 230, 118, 0.05);
}

/* Share buttons */
.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all .2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/* ============================================================
   Forms
   ============================================================ */
.form-label {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: .8125rem;
    font-weight: 600;
    margin-bottom: .5rem;
    letter-spacing: .02em;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    padding: .8rem 1rem;
    font-size: .9375rem;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.form-input:focus {
    border-color: rgba(0, 230, 118, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.12);
    background: rgba(255, 255, 255, 0.07);
}

select.form-input option {
    background: #0a0a0f;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    border-radius: 14px;
    padding: 1rem 1.25rem;
}

/* ============================================================
   Accessibility + motion preferences
   ============================================================ */
@media (pointer: coarse) {
    .cursor-glow { display: none; }
    .tilt-card { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .cursor-glow,
    .hero-content,
    .tilt-card,
    .magnetic-btn,
    .gradient-orb {
        transition: none !important;
        animation: none !important;
    }
    .electric-btn::after,
    .electric-btn .electric-arc,
    .electric-btn .electric-spark {
        animation: none !important;
    }
}


/* Flash message toast */
.animate-slideIn {
    animation: slideIn .4s ease-out both;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

