/* ============================================
   Home V2 - sanalisci.com Homepage Styles
   ============================================ */

/* Reset and Variables */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #1d4ed8;
    --success: #10b981;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --bg-white: #ffffff;
    --bg-gray: #f7fafc;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

[data-theme="dark"] {
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --bg-white: #1a202c;
    --bg-gray: #2d3748;
    --border: #4a5568;
}

/* ============================================
   Animated Hero Background
   ============================================ */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    isolation: isolate;
    min-height: 600px;
}

.min-vh-hero { min-height: 480px; }

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-bg__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 40%, #24243e 100%);
    background-size: 400% 400%;
    animation: heroGradient 20s ease infinite;
}

@keyframes heroGradient {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 100% 50%; }
    50%  { background-position: 100% 0%; }
    75%  { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

.hero-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    will-change: transform;
}

.hero-bg__orb--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.5) 0%, transparent 70%);
    top: -200px; left: -150px;
    animation: orbFloat1 25s ease-in-out infinite;
}

.hero-bg__orb--2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.45) 0%, transparent 70%);
    bottom: -150px; right: -100px;
    animation: orbFloat2 30s ease-in-out infinite;
    animation-delay: -5s;
}

.hero-bg__orb--3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(79,172,254,0.35) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 28s ease-in-out infinite;
    animation-delay: -10s;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(80px, 50px) scale(1.15); }
    66%      { transform: translate(-40px, 70px) scale(0.9); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(-60px, -40px) scale(1.1); }
    66%      { transform: translate(50px, -60px) scale(0.85); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    33%      { transform: translate(-40%, -60%) scale(1.12); }
    66%      { transform: translate(-60%, -40%) scale(0.88); }
}

.hero-bg__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-bg__noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
}

.hero-bg__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

[data-theme="dark"] .hero-bg__overlay {
    background: linear-gradient(160deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

/* ============================================
   Floating Category Tags
   ============================================ */
.hero-floating-tags {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.floating-tag {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    white-space: nowrap;
    opacity: 0;
}

.floating-tag i {
    font-size: 11px;
}

/* 6 tags on LEFT side - spread vertically, each with unique drift animation */
.ft-1  { top: 3%;  left: 2%;
    background: rgba(239, 68, 68, 0.2); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5;
    animation: floatDriftRight 22s ease-in-out infinite; animation-delay: 0s; }
.ft-8  { top: 16%; left: 5%;
    background: rgba(245, 158, 11, 0.2); border: 1px solid rgba(245, 158, 11, 0.4); color: #fcd34d;
    animation: floatDriftLeft 26s ease-in-out infinite; animation-delay: -3s; }
.ft-9  { top: 30%; left: 1%;
    background: rgba(20, 184, 166, 0.2); border: 1px solid rgba(20, 184, 166, 0.4); color: #5eead4;
    animation: floatDriftRight 20s ease-in-out infinite; animation-delay: -7s; }
.ft-4  { top: 44%; left: 3%;
    background: rgba(34, 197, 94, 0.2); border: 1px solid rgba(34, 197, 94, 0.4); color: #86efac;
    animation: floatDriftLeft 24s ease-in-out infinite; animation-delay: -5s; }
.ft-10 { top: 57%; left: 1%;
    background: rgba(99, 102, 241, 0.2); border: 1px solid rgba(99, 102, 241, 0.4); color: #a5b4fc;
    animation: floatDriftRight 28s ease-in-out infinite; animation-delay: -9s; }
.ft-7  { top: 68%; left: 4%;
    background: rgba(14, 165, 233, 0.2); border: 1px solid rgba(14, 165, 233, 0.4); color: #7dd3fc;
    animation: floatDriftLeft 21s ease-in-out infinite; animation-delay: -2s; }

/* 6 tags on RIGHT side - spread vertically, each with unique drift animation */
.ft-12 { top: 2%;  right: 18%;
    background: rgba(244, 63, 94, 0.2); border: 1px solid rgba(244, 63, 94, 0.4); color: #fda4af;
    animation: floatDriftLeft 25s ease-in-out infinite; animation-delay: -4s; }
.ft-2  { top: 15%; right: 3%;
    background: rgba(59, 130, 246, 0.2); border: 1px solid rgba(59, 130, 246, 0.4); color: #93c5fd;
    animation: floatDriftRight 23s ease-in-out infinite; animation-delay: -1s; }
.ft-11 { top: 28%; right: 6%;
    background: rgba(16, 185, 129, 0.2); border: 1px solid rgba(16, 185, 129, 0.4); color: #6ee7b7;
    animation: floatDriftLeft 19s ease-in-out infinite; animation-delay: -8s; }
.ft-3  { top: 42%; right: 1%;
    background: rgba(168, 85, 247, 0.2); border: 1px solid rgba(168, 85, 247, 0.4); color: #d8b4fe;
    animation: floatDriftRight 27s ease-in-out infinite; animation-delay: -6s; }
.ft-6  { top: 55%; right: 4%;
    background: rgba(236, 72, 153, 0.2); border: 1px solid rgba(236, 72, 153, 0.4); color: #f9a8d4;
    animation: floatDriftLeft 22s ease-in-out infinite; animation-delay: -10s; }
.ft-5  { top: 67%; right: 8%;
    background: rgba(249, 115, 22, 0.2); border: 1px solid rgba(249, 115, 22, 0.4); color: #fdba74;
    animation: floatDriftRight 24s ease-in-out infinite; animation-delay: -11s; }

/* Drift right - moves up-right then down-left */
@keyframes floatDriftRight {
    0%   { opacity: 0;   transform: translate(0, 15px) scale(0.9); }
    10%  { opacity: 0.75; transform: translate(5px, 0) scale(1); }
    30%  { opacity: 0.6;  transform: translate(18px, -12px) scale(1.02); }
    50%  { opacity: 0.7;  transform: translate(8px, -20px) scale(0.98); }
    70%  { opacity: 0.6;  transform: translate(22px, -8px) scale(1.01); }
    90%  { opacity: 0.75; transform: translate(3px, 5px) scale(1); }
    100% { opacity: 0;   transform: translate(0, 15px) scale(0.9); }
}

/* Drift left - moves up-left then down-right */
@keyframes floatDriftLeft {
    0%   { opacity: 0;   transform: translate(0, 15px) scale(0.9); }
    10%  { opacity: 0.75; transform: translate(-5px, 0) scale(1); }
    30%  { opacity: 0.6;  transform: translate(-15px, -18px) scale(1.02); }
    50%  { opacity: 0.7;  transform: translate(-8px, -10px) scale(0.98); }
    70%  { opacity: 0.6;  transform: translate(-20px, -15px) scale(1.01); }
    90%  { opacity: 0.75; transform: translate(-3px, 5px) scale(1); }
    100% { opacity: 0;   transform: translate(0, 15px) scale(0.9); }
}

/* ============================================
   Hero Content
   ============================================ */
.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #6ee7b7;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    animation: fadeSlideUp 0.8s ease both;
}

.hero-badge__dot {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50%      { opacity: 0.6; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title__line {
    display: block;
}

.hero-title__line--1 {
    animation: fadeSlideUp 0.8s ease 0.1s both;
}

.hero-title__line--2 {
    animation: fadeSlideUp 0.8s ease 0.25s both;
    min-height: 1.2em;
}

.hero-title__line--3 {
    animation: fadeSlideUp 0.8s ease 0.4s both;
    font-size: 0.85em;
    opacity: 0.9;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: inline-block;
}

@keyframes gradientShift {
    0%   { background-position: 0% center; }
    50%  { background-position: 100% center; }
    100% { background-position: 0% center; }
}

@keyframes fadeSlideUp {
    0%   { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 32px;
    opacity: 0.85;
    max-width: 520px;
    animation: fadeSlideUp 0.8s ease 0.5s both;
}

/* Search */
.hero-search {
    margin-bottom: 28px;
    animation: fadeSlideUp 0.8s ease 0.6s both;
}

.search-form {
    max-width: 520px;
}

.search-input-group {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.25);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.search-input {
    flex: 1;
    padding: 16px 16px 16px 50px;
    border: none;
    background: transparent;
    color: white;
    font-size: 15px;
}

.search-input::placeholder { color: rgba(255,255,255,0.45); }
.search-input:focus { outline: none; }

.search-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    filter: brightness(1.15);
}

/* Action Buttons */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    animation: fadeSlideUp 0.8s ease 0.7s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
}

.hero-btn--primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(102,126,234,0.4);
}

.hero-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102,126,234,0.5);
    color: white;
    text-decoration: none;
    filter: brightness(1.1);
}

.hero-btn--glass {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-btn--glass:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

/* Mini Stats */
.hero-mini-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.8s ease 0.9s both;
}

.hero-mini-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.hero-mini-stat i {
    color: rgba(59,130,246,0.9);
    font-size: 13px;
}

.hero-mini-stat strong {
    color: white;
    font-weight: 700;
}

/* ============================================
   Hero Orbit Visual (Right Side)
   ============================================ */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 420px;
    animation: fadeSlideUp 1s ease 0.4s both;
}

.hero-orbit {
    position: relative;
    width: 380px;
    height: 380px;
}

/* Center logo */
.hero-orbit__center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.hero-orbit__logo {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(102,126,234,0.4);
    animation: logoFloat 4s ease-in-out infinite;
}

.hero-orbit__logo i {
    font-size: 32px;
    color: white;
}

.hero-orbit__pulse {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    border-radius: 24px;
    border: 2px solid rgba(102,126,234,0.3);
    animation: orbitPulse 2.5s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%      { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes orbitPulse {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* Orbit rings */
.hero-orbit__ring {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
}

.hero-orbit__ring--1 {
    width: 220px; height: 220px;
    transform: translate(-50%, -50%);
    animation: ringRotate1 20s linear infinite;
}

.hero-orbit__ring--2 {
    width: 340px; height: 340px;
    transform: translate(-50%, -50%);
    animation: ringRotate2 30s linear infinite;
}

@keyframes ringRotate1 { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ringRotate2 { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(-360deg); } }

/* Orbit icons */
.orbit-icon {
    position: absolute;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.orbit-icon i {
    font-size: 16px;
    color: white;
}

/* Counter-rotate icons to keep them upright */
.hero-orbit__ring--1 .orbit-icon { animation: counterRotate1 20s linear infinite; }
.hero-orbit__ring--2 .orbit-icon { animation: counterRotate2 30s linear infinite; }

@keyframes counterRotate1 { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }
@keyframes counterRotate2 { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Position icons on Ring 1 (radius ~110px) */
.oi-1 { top: -22px; left: 50%; margin-left: -22px; }
.oi-2 { bottom: 15%; right: -22px; }
.oi-3 { bottom: 15%; left: -22px; }

/* Position icons on Ring 2 (radius ~170px) */
.oi-4 { top: -22px; left: 50%; margin-left: -22px; }
.oi-5 { top: 50%; right: -22px; margin-top: -22px; }
.oi-6 { bottom: -22px; left: 50%; margin-left: -22px; }
.oi-7 { top: 50%; left: -22px; margin-top: -22px; }

/* Icon color accents */
.oi-1 { background: rgba(102,126,234,0.25); border-color: rgba(102,126,234,0.35); }
.oi-2 { background: rgba(79,172,254,0.25); border-color: rgba(79,172,254,0.35); }
.oi-3 { background: rgba(240,147,251,0.25); border-color: rgba(240,147,251,0.35); }
.oi-4 { background: rgba(245,87,108,0.25); border-color: rgba(245,87,108,0.35); }
.oi-5 { background: rgba(67,233,123,0.25); border-color: rgba(67,233,123,0.35); }
.oi-6 { background: rgba(255,193,7,0.25); border-color: rgba(255,193,7,0.35); }
.oi-7 { background: rgba(0,242,254,0.25); border-color: rgba(0,242,254,0.35); }

/* ============================================
   Hero Responsive
   ============================================ */
@media (max-width: 991px) {
    .hero-section { padding: 60px 0; min-height: auto; }
    .min-vh-hero { min-height: auto; }
    .hero-mini-stats { justify-content: center; }
    .hero-content { text-align: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .search-form { margin: 0 auto; }
    .hero-actions { justify-content: center; }

    /* Floating tags - smaller on tablet, keep 6 spread around edges */
    .floating-tag {
        padding: 5px 11px;
        font-size: 10px;
    }
    .floating-tag i { font-size: 9px; }

    /* Hide inner tags that overlap centered content */
    .ft-4, .ft-9, .ft-10, .ft-7, .ft-5, .ft-6 { display: none; }

    .ft-1  { top: 2%;  left: 2%; }
    .ft-8  { top: 14%; left: 1%; }
    .ft-12 { top: 2%;  right: 3%; }
    .ft-2  { top: 14%; right: 2%; }
    .ft-11 { top: 28%; right: 1%; }
    .ft-3  { top: 28%; left: 1%; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.8rem; }
    .hero-btn { padding: 12px 20px; font-size: 14px; }
    .hero-mini-stats { gap: 16px; }

    /* Floating tags - tiny on phone, 4 in corners */
    .floating-tag {
        padding: 4px 9px;
        font-size: 9px;
        border-radius: 14px;
    }
    .floating-tag i { font-size: 8px; }

    .ft-3, .ft-5, .ft-6, .ft-7, .ft-8, .ft-9, .ft-10, .ft-11 { display: none; }

    .ft-1  { top: 1%;  left: 2%; }
    .ft-12 { top: 1%;  right: 2%; }
    .ft-2  { top: 11%; right: 1%; }
    .ft-4  { display: inline-flex; top: 11%; left: 1%; }
}

/* Legacy compatibility */
@keyframes pulse-green-tiny {
    0%, 100% { background-color: #28a745; box-shadow: 0 0 0 0 rgba(40,167,69,0.7); }
    50%      { background-color: #34ce57; box-shadow: 0 0 0 2px rgba(40,167,69,0.2); }
}

@keyframes pulse-yellow-tiny {
    0%, 100% { background-color: #ffc107; box-shadow: 0 0 0 0 rgba(255,193,7,0.7); }
    50%      { background-color: #ffcd39; box-shadow: 0 0 0 2px rgba(255,193,7,0.2); }
}

/* ============================================
   Sections
   ============================================ */
.categories-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.process-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

.featured-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.cta-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

.section-header {
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Categories Grid
   ============================================ */
.categories-simple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.category-simple-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.category-simple-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary);
    text-decoration: none;
    color: inherit;
}

.category-simple-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-simple-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.category-simple-info {
    flex: 1;
}

.category-simple-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.category-simple-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.category-simple-arrow {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-simple-card:hover .category-simple-arrow {
    background: var(--primary);
    color: white;
}

[data-theme="dark"] .category-simple-card {
    background: #2d2d2d;
    border-color: #404040;
}

[data-theme="dark"] .category-simple-name {
    color: #ffffff;
}

[data-theme="dark"] .category-simple-arrow {
    background: #404040;
    color: #b0b0b0;
}

[data-theme="dark"] .category-simple-card:hover .category-simple-arrow {
    background: var(--primary);
    color: white;
}

/* ============================================
   Process Grid
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.process-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: transform 0.3s ease;
}

.process-card:hover {
    transform: translateY(-4px);
}

.process-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.process-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
}

.process-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.process-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Featured Services Grid
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.service-image img,
.service-video-preview,
.youtube-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img,
.service-card:hover .service-video-preview,
.service-card:hover .youtube-thumbnail {
    transform: scale(1.05);
}

.service-video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-play-overlay i {
    color: white;
    font-size: 24px;
    margin-left: 3px;
}

.service-card:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-badge {
    position: absolute;
    top: 8px;
    background: #198754;
    color: white;
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 3;
    display: inline-block;
}

.service-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: var(--text-primary);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.view-btn:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: var(--text-primary);
}

.service-content {
    padding: 20px;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.service-category {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #fbbf24;
    margin-bottom: 16px;
}

.service-title {
    margin-bottom: 16px;
}

.service-title a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title a:hover {
    color: var(--primary);
}

.service-provider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.provider-avatar {
    position: relative;
}

.provider-avatar img,
.avatar-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.avatar-placeholder {
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.provider-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.provider-status-dot.online {
    background-color: #00ff00;
    animation: shine-green 2s infinite;
    box-shadow: 0 0 4px #00ff00;
}

.provider-status-dot.recent {
    background-color: #ffff00;
    box-shadow: 0 0 3px #ffff00;
}

.provider-status-dot.offline {
    background-color: #ff0000;
    box-shadow: 0 0 3px #ff0000;
}

@keyframes shine-green {
    0%   { opacity: 1; box-shadow: 0 0 4px #00ff00; }
    50%  { opacity: 0.7; box-shadow: 0 0 8px #00ff00, 0 0 12px #00ff00; }
    100% { opacity: 1; box-shadow: 0 0 4px #00ff00; }
}

.provider-name {
    font-size: 14px;
    color: var(--text-secondary);
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.price {
    font-size: 18px;
    font-weight: 800;
    color: var(--success);
}

.price-free {
    font-weight: 600;
    color: var(--success);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cta-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ============================================
   Services & Jobs Grid Section
   ============================================ */
.services-jobs-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

.grid-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 48px 0 32px 0;
    background: var(--bg-gray);
    padding: 6px;
    border-radius: 12px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow);
}

.content-grid {
    display: none;
}

.content-grid.active {
    display: block;
}

.grid-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

/* Skeleton loading shimmer */
.skeleton-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.skeleton-card .skeleton-image {
    height: 160px;
    background: linear-gradient(90deg, var(--bg-gray) 25%, rgba(255,255,255,0.3) 50%, var(--bg-gray) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-card .skeleton-line {
    height: 12px;
    margin: 12px 16px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--bg-gray) 25%, rgba(255,255,255,0.3) 50%, var(--bg-gray) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-card .skeleton-line--short {
    width: 60%;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.grid-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.grid-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: inherit;
}

.grid-item-image {
    height: 160px;
    background: var(--bg-gray);
    position: relative;
    overflow: hidden;
}

.grid-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid-item:hover .grid-item-image img {
    transform: scale(1.05);
}

.grid-item-content {
    padding: 16px;
}

.grid-item-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.grid-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.grid-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--success);
}

.grid-item-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* WhatsApp contact */
.whatsapp-contact {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
    z-index: 2;
}

.whatsapp-contact:hover {
    transform: scale(1.1);
    color: white;
}

/* ============================================
   Style 3: Compact & Modern Cards
   ============================================ */
.style-3-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
    display: block;
    border: 1px solid var(--border);
}

.style-3-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    text-decoration: none;
    color: var(--text-primary);
    border-color: var(--primary);
}

.style-3-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.style-3-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.style-3-card:hover .style-3-image img {
    transform: scale(1.05);
}

.job-image {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-icon {
    color: white;
    font-size: 3rem;
    opacity: 0.9;
}

.style-3-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent !important;
    color: rgba(255,255,255,0.8) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
    opacity: 0;
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.style-3-favorite:hover {
    color: #e74c3c !important;
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(231, 76, 60, 0.6));
}

.style-3-favorite.active {
    color: #e74c3c !important;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(231, 76, 60, 0.8));
    opacity: 1 !important;
}

.style-3-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 12px 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.style-3-card:hover .style-3-overlay {
    opacity: 1;
}

.style-3-card:hover .style-3-favorite {
    opacity: 1;
}

.style-3-contacts {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.contact-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.contact-circle.whatsapp { background: #25d366; color: white; }
.contact-circle.call { background: #34c759; color: white; }
.contact-circle.video { background: #007aff; color: white; }
.contact-circle:hover { transform: scale(1.1); color: white; }

.category-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-badge { background: #f59e0b; }

.style-3-content { padding: 16px; }

.style-3-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.style-3-category {
    background: var(--bg-gray);
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Colorful category badges */
.style-3-category[data-category*="dijital"] { background: #e3f2fd !important; color: #1565c0 !important; }
.style-3-category[data-category*="pazarlama"] { background: #e8f5e9 !important; color: #2e7d32 !important; }
.style-3-category[data-category*="ai"] { background: #f3e5f5 !important; color: #7b1fa2 !important; }
.style-3-category[data-category*="yazılım"] { background: #fff3e0 !important; color: #ef6c00 !important; }
.style-3-category[data-category*="tasarım"] { background: #fce4ec !important; color: #c2185b !important; }
.style-3-category[data-category*="video"] { background: #e0f2f1 !important; color: #00695c !important; }
.style-3-category[data-category*="grafik"] { background: #fff8e1 !important; color: #f57c00 !important; }
.style-3-category[data-category*="web"] { background: #f1f8e9 !important; color: #558b2f !important; }
.style-3-category[data-category*="mobil"] { background: #e8eaf6 !important; color: #3f51b5 !important; }
.style-3-category[data-category*="seo"] { background: #ffebee !important; color: #d32f2f !important; }
.style-3-category[data-category="test category"] { background: #e3f2fd !important; color: #1565c0 !important; }

.style-3-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #ffc107;
}

.style-3-rating .fas.fa-star { color: #ffc107 !important; }

.free-consultation-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 6px 0;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    animation: pulse-glow 2s infinite;
}

.free-consultation-badge i { font-size: 9px; }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3); }
    50% { box-shadow: 0 2px 8px rgba(40, 167, 69, 0.5); }
}

.style-3-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--text-primary);
}

.style-3-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.style-3-seller img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.seller-avatar {
    position: relative;
    display: inline-block;
}

.seller-avatar .seller-status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #fff;
}

.seller-avatar .seller-status-dot.online {
    background-color: #28a745;
    animation: pulse-green-tiny 3s infinite;
}

.seller-avatar .seller-status-dot.recent {
    background-color: #ffc107;
    animation: pulse-yellow-tiny 3s infinite;
}

.seller-avatar .seller-status-dot.offline {
    background-color: #6c757d;
}

.style-3-seller > span {
    font-size: 12px;
    color: var(--text-secondary);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.seller-contacts {
    display: flex;
    gap: 4px;
    margin-left: auto;
    align-items: center;
}

.contact-mini {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.contact-mini::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.contact-mini:hover::before { left: 100%; }

.contact-mini:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.1);
}

.contact-mini.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    font-weight: 600;
}

.contact-mini.whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 2px 4px rgba(0,0,0,0.1);
}

.contact-mini.voice {
    background: linear-gradient(135deg, #34c759 0%, #28a745 100%);
    color: white;
    font-weight: 600;
}

.contact-mini.voice:hover {
    background: linear-gradient(135deg, #28a745 0%, #34c759 100%);
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.4), 0 2px 4px rgba(0,0,0,0.1);
}

.contact-mini.video {
    background: linear-gradient(135deg, #007aff 0%, #0056cc 100%);
    color: white;
    font-weight: 600;
}

.contact-mini.video:hover {
    background: linear-gradient(135deg, #0056cc 0%, #007aff 100%);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4), 0 2px 4px rgba(0,0,0,0.1);
}

.stars {
    display: flex;
    gap: 2px;
    margin-right: 6px;
}

.stars i { font-size: 12px; color: #e2e8f0; }
.stars i.active { color: #fbbf24; }

.rating-text {
    font-size: 11px;
    color: var(--text-muted);
}

.job-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 16px;
    min-height: 36px;
}

.style-3-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.style-3-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.style-3-stats span {
    font-size: 10px;
    color: var(--text-muted);
}

.style-3-price {
    font-size: 16px;
    font-weight: 700;
    color: #28a745;
}

.contact-for-price {
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
}

.job-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    opacity: 0.9;
}

.job-category { background: #f59e0b; color: white; }

.service-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat {
    display: flex;
    align-items: center;
    font-size: 10px;
    color: var(--text-muted);
    gap: 4px;
}

.stat i { width: 12px; text-align: center; }

.service-price {
    line-height: 1;
    text-align: right;
}

.price-currency { font-size: 12px; font-weight: 600; color: #28a745; margin-right: 1px; }
.price-value { font-size: 18px; font-weight: 700; color: #28a745; }
.price-period { font-size: 10px; margin-top: 2px; }

.service-quick-info { font-size: 10px; line-height: 1.5; }
.service-quick-info i { width: 12px; text-align: center; margin-right: 2px; color: #718096; font-size: 9px; }

.service-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.btn-whatsapp {
    background: #25d366;
    color: white !important;
    border: none;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #1da851;
    color: white !important;
    transform: translateY(-1px);
}

.call-badges { display: flex; gap: 4px; }

.badge {
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.badge i { font-size: 9px; }
.badge-call { background: #e8f5e9; color: #2e7d32; }
.badge-video { background: #e3f2fd; color: #1565c0; }

/* Dark mode for cards */
[data-theme="dark"] .professional-card { background: var(--bg-gray); border-color: var(--border); }
[data-theme="dark"] .professional-card:hover { border-color: var(--primary); }
[data-theme="dark"] .service-footer { border-color: var(--border); }
[data-theme="dark"] .seller-avatar { border-color: var(--border); }
[data-theme="dark"] .favorite-btn { background: var(--bg-gray); color: var(--text-secondary); }
[data-theme="dark"] .favorite-btn:hover { color: #e53e3e; }
[data-theme="dark"] .services-jobs-section { background: var(--bg-gray); }
[data-theme="dark"] .grid-item { background: var(--bg-gray); border-color: var(--border); }
[data-theme="dark"] .grid-item-footer { border-color: var(--border); }
[data-theme="dark"] .grid-tabs { background: var(--bg-white); }
[data-theme="dark"] .style-3-favorite {
    color: rgba(255,255,255,0.9) !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

/* Dark mode category badges */
[data-theme="dark"] .style-3-category[data-category*="dijital"] { background: #1a237e !important; color: #64b5f6 !important; }
[data-theme="dark"] .style-3-category[data-category*="pazarlama"] { background: #1b5e20 !important; color: #81c784 !important; }
[data-theme="dark"] .style-3-category[data-category*="ai"] { background: #4a148c !important; color: #ce93d8 !important; }
[data-theme="dark"] .style-3-category[data-category*="yazılım"] { background: #e65100 !important; color: #ffcc02 !important; }
[data-theme="dark"] .style-3-category[data-category*="tasarım"] { background: #880e4f !important; color: #f8bbd9 !important; }
[data-theme="dark"] .style-3-category[data-category*="video"] { background: #004d40 !important; color: #4db6ac !important; }
[data-theme="dark"] .style-3-category[data-category*="grafik"] { background: #ff6f00 !important; color: #fff3c4 !important; }
[data-theme="dark"] .style-3-category[data-category*="web"] { background: #33691e !important; color: #aed581 !important; }
[data-theme="dark"] .style-3-category[data-category*="mobil"] { background: #1a237e !important; color: #9fa8da !important; }
[data-theme="dark"] .style-3-category[data-category*="seo"] { background: #b71c1c !important; color: #ffcdd2 !important; }

/* ============================================
   Scroll Animations
   ============================================ */
[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for children */
[data-animate-stagger] > [data-animate]:nth-child(1) { transition-delay: 0s; }
[data-animate-stagger] > [data-animate]:nth-child(2) { transition-delay: 0.08s; }
[data-animate-stagger] > [data-animate]:nth-child(3) { transition-delay: 0.16s; }
[data-animate-stagger] > [data-animate]:nth-child(4) { transition-delay: 0.24s; }
[data-animate-stagger] > [data-animate]:nth-child(5) { transition-delay: 0.32s; }
[data-animate-stagger] > [data-animate]:nth-child(6) { transition-delay: 0.40s; }
[data-animate-stagger] > [data-animate]:nth-child(7) { transition-delay: 0.48s; }
[data-animate-stagger] > [data-animate]:nth-child(8) { transition-delay: 0.56s; }

[data-animate-stagger] > .style-3-card[data-animate]:nth-child(1) { transition-delay: 0s; }
[data-animate-stagger] > .style-3-card[data-animate]:nth-child(2) { transition-delay: 0.06s; }
[data-animate-stagger] > .style-3-card[data-animate]:nth-child(3) { transition-delay: 0.12s; }
[data-animate-stagger] > .style-3-card[data-animate]:nth-child(4) { transition-delay: 0.18s; }
[data-animate-stagger] > .style-3-card[data-animate]:nth-child(5) { transition-delay: 0.24s; }
[data-animate-stagger] > .style-3-card[data-animate]:nth-child(6) { transition-delay: 0.30s; }
[data-animate-stagger] > .style-3-card[data-animate]:nth-child(7) { transition-delay: 0.36s; }
[data-animate-stagger] > .style-3-card[data-animate]:nth-child(8) { transition-delay: 0.42s; }

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .grid-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .categories-simple-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 32px 24px;
        text-align: center;
    }

    .cta-actions {
        margin-top: 24px;
    }

    .categories-section,
    .process-section,
    .featured-section,
    .cta-section {
        padding: 60px 0;
    }

    .grid-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .style-3-image { height: 140px; }
    .style-3-content { padding: 12px; }
    .style-3-title { font-size: 13px; height: 32px; }

    .grid-tabs {
        flex-direction: row;
        width: 100%;
        max-width: 400px;
    }

    .tab-btn {
        flex: 1;
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .search-input-group {
        flex-direction: column;
    }

    .search-input {
        padding-left: 16px;
    }

    .search-icon {
        display: none;
    }

    .hero-stats-card {
        padding: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .grid-items {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .style-3-image { height: 160px; }

    .services-jobs-section {
        padding: 60px 0;
    }

    .style-3-contacts { gap: 4px; }
    .contact-circle { width: 28px; height: 28px; font-size: 11px; }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .hero-bg__gradient { animation: none; }
    .hero-bg__orb { animation: none; }
    .stat-item { animation: none; }
    .pulse-dot { animation: none; }
    .free-consultation-badge { animation: none; }
    .stat-number, .stat-label { animation: none; }
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    @keyframes shimmer { 0%, 100% { background-position: 0 0; } }
}
