/* ============================================
   Yuriva Web Technologies — style.css  v3
   Brand: Orange #ff5e14  ·  Blue #2563eb
   Theme: Dark glassmorphism
   ============================================ */

/* ── Root variables ─────────────────────────── */
:root {
    --orange-400 : #ff7a3d;
    --orange-500 : #ff5e14;
    --orange-600 : #e04e00;
    --blue-400   : #60a5fa;
    --blue-500   : #3b82f6;
    --blue-600   : #2563eb;
    --dark-800   : #0f1117;
    --dark-900   : #070b12;
    --dark-950   : #030508;
    --white      : #ffffff;
    --text-muted : #94a3b8;
    --border     : rgba(255,255,255,0.07);
    --radius     : 16px;
    --tr         : 0.3s cubic-bezier(0.4,0,0.2,1);

    /* Gradient shorthands */
    --grad-brand : linear-gradient(135deg, #ff5e14 0%, #ff7a3d 40%, #2563eb 100%);
    --grad-glass : linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
}

/* ── Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--dark-900); color: #e2e8f0; font-family: 'Plus Jakarta Sans', sans-serif; overflow-x: hidden; }
[id] { scroll-margin-top: 88px; }

/* ── Noise overlay ──────────────────────────── */
.noise-overlay {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.35;
}

/* ── Navbar ─────────────────────────────────── */
.nav-blur {
    background: rgba(7,11,18,0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}
#main-nav.scrolled .nav-blur { background: rgba(7,11,18,0.97); }

/* ── Glassmorphism card ─────────────────────── */
.glass-card {
    background: var(--grad-glass);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.07);
}

/* ── Card ───────────────────────────────────── */
.card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--tr);
    position: relative; overflow: hidden;
}
.card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: var(--grad-brand);
    opacity: 0; transition: opacity var(--tr);
}
.card:hover { border-color: rgba(255,94,20,0.2); transform: translateY(-4px); background: rgba(255,255,255,0.05); }
.card:hover::before { opacity: 0.5; }
.card-glow:hover { box-shadow: 0 20px 60px rgba(255,94,20,0.08), 0 0 0 1px rgba(255,94,20,0.12); }

/* ── Buttons ────────────────────────────────── */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--grad-brand);
    color: white; font-weight: 600; border-radius: 12px;
    padding: 0.75rem 1.5rem; font-size: 0.875rem;
    transition: all var(--tr);
    box-shadow: 0 4px 24px rgba(255,94,20,0.3);
    border: none; text-decoration: none; cursor: pointer;
    position: relative; overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
    opacity: 0; transition: opacity var(--tr);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,94,20,0.45); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    color: white; border-radius: 12px; padding: 0.75rem 1.5rem;
    font-weight: 600; font-size: 0.875rem;
    transition: all var(--tr); text-decoration: none;
    background: rgba(255,255,255,0.03);
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-outline:hover {
    border-color: var(--orange-500);
    background: rgba(255,94,20,0.08);
    color: var(--orange-400);
    box-shadow: 0 0 20px rgba(255,94,20,0.15);
}

.btn-gold {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000; font-weight: 700; border-radius: 12px;
    padding: 0.75rem 1.5rem; font-size: 0.875rem;
    transition: all var(--tr); text-decoration: none;
    box-shadow: 0 4px 24px rgba(245,158,11,0.3);
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,158,11,0.45); }

/* ── Text gradients ─────────────────────────── */
.text-gradient-brand {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-orange {
    background: linear-gradient(135deg, #ff7a3d, #ff5e14, #ff9a6c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-blue {
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Section helpers ────────────────────────── */
.section-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,94,20,0.08);
    border: 1px solid rgba(255,94,20,0.22);
    color: var(--orange-400); font-size: 0.75rem;
    font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; border-radius: 999px;
    padding: 0.375rem 1rem; margin-bottom: 1.25rem;
}
.section-tag::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--grad-brand);
    flex-shrink: 0;
}
.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800; line-height: 1.15;
    color: white; margin-bottom: 1rem;
}
.section-sub {
    color: var(--text-muted);
    font-size: 1.0625rem; line-height: 1.7;
    max-width: 580px;
}
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent); }

/* ── Hero ───────────────────────────────────── */
.hero-headline {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800; line-height: 1.05; letter-spacing: -0.02em;
}
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: #94a3b8; line-height: 1.7; max-width: 580px; }

/* ── Glow orbs ──────────────────────────────── */
.glow-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.glow-orange{ background: rgba(255,94,20,0.2); }
.glow-blue  { background: rgba(37,99,235,0.2); }
.glow-purple{ background: rgba(139,92,246,0.12); }
.glow-teal  { background: rgba(20,184,166,0.14); }
.glow-green { background: rgba(16,185,129,0.12); }
.glow-gold  { background: rgba(245,158,11,0.12); }

/* ── Backgrounds ────────────────────────────── */
.bg-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}
.bg-dots {
    background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ── Service icon ───────────────────────────── */
.service-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem; position: relative;
}
.service-icon svg { width: 24px; height: 24px; }

/* ── Stat card ──────────────────────────────── */
.stat-card {
    text-align: center; padding: 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border); border-radius: 20px; transition: all 0.3s;
}
.stat-card:hover { border-color: rgba(255,94,20,0.2); background: rgba(255,94,20,0.03); }
.stat-number { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 0.5rem; }

/* ── Testimonial ────────────────────────────── */
.testimonial-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px; padding: 1.75rem; transition: all 0.3s;
}
.testimonial-card:hover { border-color: rgba(255,94,20,0.2); background: rgba(255,255,255,0.04); }
.star-rating { color: #fbbf24; letter-spacing: 2px; }

/* ── Avatar ─────────────────────────────────── */
.avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1rem; flex-shrink: 0;
}

/* ── Badge pill ─────────────────────────────── */
.badge-pill {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8; font-size: 0.6875rem;
    font-weight: 600; letter-spacing: 0.05em;
    border-radius: 999px; padding: 0.25rem 0.75rem;
}

/* ── Filter buttons ─────────────────────────── */
.filter-btn {
    padding: 0.5rem 1.25rem; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8; font-size: 0.875rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; background: transparent;
}
.filter-btn:hover, .filter-btn.active {
    background: rgba(255,94,20,0.1);
    border-color: rgba(255,94,20,0.4);
    color: var(--orange-400);
}

/* ── FAQ ────────────────────────────────────── */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
.faq-trigger {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 0; cursor: pointer; color: white; font-weight: 600;
    text-align: left; background: none; border: none;
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem;
}
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-content.open { max-height: 320px; }
.faq-icon { transition: transform 0.3s ease; color: var(--orange-400); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── Form inputs ────────────────────────────── */
.form-input {
    width: 100%; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; color: white;
    padding: 0.875rem 1.125rem; font-size: 0.9375rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus {
    border-color: rgba(255,94,20,0.5);
    box-shadow: 0 0 0 3px rgba(255,94,20,0.1);
    background: rgba(255,255,255,0.06);
}
.form-input::placeholder { color: #4b5563; }
.form-input.error { border-color: rgba(239,68,68,0.6); }
.form-label { display: block; margin-bottom: 0.5rem; color: #cbd5e1; font-size: 0.875rem; font-weight: 500; }

select.form-input {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.875rem center; background-size: 1rem;
    padding-right: 2.5rem; cursor: pointer;
}
select.form-input option { background: #0f1117; color: #e2e8f0; }
input[type="checkbox"] { accent-color: var(--orange-500); cursor: pointer; }
input[type="radio"].sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Tech badge ─────────────────────────────── */
.tech-row { display: flex; flex-wrap: wrap; gap: 0.625rem; align-items: center; }
.tech-badge {
    display: flex; align-items: center; gap: 0.375rem;
    padding: 0.375rem 0.875rem; border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    color: #94a3b8; font-size: 0.8125rem; font-weight: 500; white-space: nowrap;
}

/* ── Step number ────────────────────────────── */
.step-number {
    width: 48px; height: 48px; border-radius: 14px;
    background: rgba(255,94,20,0.08);
    border: 1px solid rgba(255,94,20,0.2);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-weight: 800;
    color: var(--orange-400); font-size: 1.125rem; flex-shrink: 0;
}

/* ── Blog content prose ─────────────────────── */
.blog-content { color: #cbd5e1; font-size: 1rem; line-height: 1.85; }
.blog-content h2 { font-family:'Syne',sans-serif; font-weight:700; color:#fff; font-size:1.625rem; margin:2.5rem 0 1rem; line-height:1.25; }
.blog-content h3 { font-family:'Syne',sans-serif; font-weight:700; color:#e2e8f0; font-size:1.25rem; margin:2rem 0 0.75rem; }
.blog-content p  { margin-bottom:1.25rem; }
.blog-content ul,.blog-content ol { padding-left:1.5rem; margin-bottom:1.25rem; }
.blog-content li { margin-bottom:0.5rem; }
.blog-content ul li { list-style:none; position:relative; padding-left:1.25rem; }
.blog-content ul li::before { content:''; position:absolute; left:0; top:0.55em; width:6px; height:6px; border-radius:50%; background:var(--orange-500); }
.blog-content strong { color:#fff; font-weight:600; }
.blog-content em { color:var(--orange-400); font-style:italic; }
.blog-content a { color:var(--orange-400); text-decoration:underline; text-underline-offset:3px; }
.blog-content a:hover { color:#ff9a6c; }
.blog-content blockquote { border-left:3px solid var(--orange-500); padding:1rem 1.5rem; margin:1.5rem 0; background:rgba(255,94,20,0.05); border-radius:0 12px 12px 0; color:var(--orange-400); font-style:italic; }
.blog-content code { background:rgba(255,255,255,0.08); color:var(--orange-400); padding:0.15em 0.4em; border-radius:4px; font-size:0.875em; font-family:monospace; }
.blog-content pre { background:#0f1117; border:1px solid rgba(255,255,255,0.07); border-radius:12px; padding:1.25rem; overflow-x:auto; margin-bottom:1.25rem; }
.blog-content pre code { background:none; padding:0; color:#e2e8f0; }

/* ── Blog image placeholder ─────────────────── */
.blog-image-placeholder {
    background: linear-gradient(135deg, rgba(255,94,20,0.12), rgba(37,99,235,0.08));
    display: flex; align-items: center; justify-content: center;
}

/* ── Portfolio card ─────────────────────────── */
.portfolio-item { transition: opacity 0.25s, transform 0.25s; }

/* ── Loc hero ───────────────────────────────── */
.loc-hero { background: linear-gradient(135deg, rgba(255,94,20,0.06) 0%, rgba(37,99,235,0.04) 60%, transparent 100%); }

/* ── Toast ──────────────────────────────────── */
.toast {
    position: fixed; top: 5.5rem; right: 1rem; z-index: 9999;
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.875rem 1.125rem; border-radius: 14px;
    font-size: 0.875rem; font-weight: 500;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: slideInRight 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
    max-width: 340px; border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}
.toast-success { background: linear-gradient(135deg,#064e3b,#065f46); color: #6ee7b7; }
.toast-error   { background: linear-gradient(135deg,#450a0a,#7f1d1d); color: #fca5a5; }
.toast-info    { background: linear-gradient(135deg,rgba(255,94,20,0.3),rgba(37,99,235,0.25)); color: #fff; }

@keyframes slideInRight  { from { opacity:0; transform:translateX(100%) scale(0.9); } to { opacity:1; transform:translateX(0) scale(1); } }
@keyframes slideOutRight { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(100%); } }

/* ── Page loader bar ────────────────────────── */
#page-loader {
    position: fixed; top: 0; left: 0; width: 0; height: 3px;
    background: var(--grad-brand); background-size: 200% 100%;
    z-index: 9999; transition: width 0.3s ease;
    animation: shimmerBar 1.5s linear infinite;
}
@keyframes shimmerBar { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── WhatsApp float ─────────────────────────── */
.wa-ring {
    position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid rgba(37,211,102,0.45);
    animation: pulseRing 2.2s ease-out infinite; pointer-events: none;
}
@keyframes pulseRing { 0%{transform:scale(0.85);opacity:1} 100%{transform:scale(1.9);opacity:0} }

/* ── Scroll reveal ──────────────────────────── */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Animations ─────────────────────────────── */
@keyframes fadeUp  { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn  { from{opacity:0} to{opacity:1} }
@keyframes float   { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.animate-float   { animation: float 6s ease-in-out infinite; }
.animate-fade-up { animation: fadeUp 0.65s ease forwards; }
.animate-fade-in { animation: fadeIn 0.45s ease forwards; }
.delay-100 { animation-delay: 0.1s; } .delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; } .delay-400 { animation-delay: 0.4s; }

/* ── Success ring ───────────────────────────── */
.success-ring {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(16,185,129,0.1); border: 2px solid rgba(16,185,129,0.3);
    display: flex; align-items: center; justify-content: center; margin: 0 auto;
    animation: successPop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes successPop { 0%{transform:scale(0);opacity:0} 100%{transform:scale(1);opacity:1} }

/* ── Error page ─────────────────────────────── */
.error-number {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: clamp(7rem, 22vw, 14rem); line-height: 1;
    background: var(--grad-brand);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; user-select: none; letter-spacing: -0.04em;
}

/* ── Line clamp ─────────────────────────────── */
.line-clamp-2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.line-clamp-3 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* ── Admin ──────────────────────────────────── */
.admin-card { background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.07); border-radius:16px; padding:1.5rem; transition:border-color 0.2s; }
.admin-card:hover { border-color:rgba(255,94,20,0.2); }
.data-table { width:100%; border-collapse:collapse; }
.data-table th { text-align:left; padding:0.75rem 1rem; font-size:0.6875rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:#4b5563; border-bottom:1px solid rgba(255,255,255,0.06); }
.data-table td { padding:0.875rem 1rem; font-size:0.875rem; color:#cbd5e1; border-bottom:1px solid rgba(255,255,255,0.04); vertical-align:middle; }
.data-table tr:hover td { background:rgba(255,255,255,0.02); }
.table-scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.status-badge { display:inline-flex; align-items:center; gap:0.3rem; padding:0.15rem 0.6rem; border-radius:999px; font-size:0.6875rem; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; }
.s-new       { background:rgba(255,94,20,0.15);  color:#ff7a3d; }
.s-contacted { background:rgba(245,158,11,0.15); color:#fbbf24; }
.s-qualified { background:rgba(16,185,129,0.15); color:#34d399; }
.s-closed    { background:rgba(107,114,128,0.15);color:#9ca3af; }

/* ── Accessibility ──────────────────────────── */
*:focus-visible { outline: 2px solid var(--orange-400); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ── Scrollbar ──────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-900); }
::-webkit-scrollbar-thumb { background: rgba(255,94,20,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,94,20,0.55); }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 768px) {
    .hero-headline { letter-spacing: -0.01em; }
    .section-title { font-size: 1.875rem; }
}
@media print {
    .noise-overlay, #whatsapp-float, #sticky-cta, #main-nav, #page-loader { display:none !important; }
    body { background: white !important; color: black !important; }
}
